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存储区中)。 它一直工作到昨天。函数的代码没有变化。
谢谢。