发生系统错误:uv_os_get_passwd 在 Object.userInfo (os.js:249:11)

问题描述

我已经实现了 AzureSpeech 服务,该服务可在本地运行,但在部署到 azure 时出错

当我部署到我的应用服务时出现以下错误,但它在我的本地 PC 上运行良好,当我卸载这个包“microsoft-cognitiveservices-speech-sdk”时,它也能正常工作。有人可以帮我吗。

SystemError [ERR_SYstem_ERROR]:发生系统错误:uv_os_get_passwd 返回 ENOENT(没有这样的文件或目录) 在 Object.userInfo (os.js:249:11) 在 Function.module.exports.os (D:\home\site\wwwroot\node_modules\username-sync\index.js:24:17) 在 module.exports (D:\home\site\wwwroot\node_modules\username-sync\index.js:7:25) 在对象。 (D:\home\site\wwwroot\node_modules\async-disk-cache\index.js:26:42) 在 Module._compile (internal/modules/cjs/loader.js:688:30) 在 Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) 在 Module.load (internal/modules/cjs/loader.js:598:32) 在 tryModuleLoad (internal/modules/cjs/loader.js:537:12) 在 Function.Module._load (internal/modules/cjs/loader.js:529:3) 在 Module.require (internal/modules/cjs/loader.js:636:17) 2021-06-15T14:39:56 PID[22200] 详细 SnapshotHelper::TakeSnapshottimerCallback 2021-06-15T14:39:56 PID[22200] 详细 SnapshotHelper::TakeSnapshotInternal - CodeGen 中没有新文件 2021-06-15T14:59:56 PID[22200] 详细 SnapshotHelper::TakeSnapshottimerCallback 2021-06-15T14:59:56 PID[22200] 详细 SnapshotHelper::TakeSnapshotInternal - CodeGen 中没有新文件 2021-06-15T14:59:56 PID[22200] Verbose SnapshotHelper::TakeSnapshot 自上次以来的时间:00:20:00.0180249

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)