Azure函数在500-eNotes上失败:没有这样的文件或目录,lstat';D:\home\site'';

Azure函数在500-eNotes上失败:没有这样的文件或目录,lstat';D:\home\site'';,azure,azure-functions,Azure,Azure Functions,Azure功能开始失败,原因是: Result: Failure Exception: Worker was unable to load function StartStopVms: 'Error: ENOENT: no such file or directory, lstat 'D:\home\site'' Stack: Error: ENOENT: no such file or directory, lstat 'D:\home\site' at Object.realpath

Azure功能开始失败,原因是:

Result: Failure
Exception: Worker was unable to load function StartStopVms: 'Error: ENOENT: no such file or directory, lstat 'D:\home\site''
Stack: Error: ENOENT: no such file or directory, lstat 'D:\home\site'
    at Object.realpathSync (fs.js:1461:7)
    at toRealPath (internal/modules/cjs/loader.js:241:13)
    at Function.Module._findPath (internal/modules/cjs/loader.js:310:24)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:633:25)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at FunctionLoader.load (D:\Program Files (x86)\SiteExtensions\Functions\2.0.12858\32bit\workers\node\worker-bundle.js:18562:22)

原因可能是什么?它是部署在windows上的nodejs函数。它被设置为“从zip运行”(代码位于blob存储中)。 它一直工作到昨天。函数的代码没有更改


谢谢。

请转到您的功能应用程序,单击“平台功能”->“高级工具(Kudu)”-->“调试控制台”->“CMD”检查“站点”是否存在。

转到Kudu查看是否有站点文件夹。