首页 > 解决方案 > 发生系统错误:uv_os_get_passwd 在 Object.userInfo (os.js:249:11) 返回 ENOENT(没有这样的文件或目录)

问题描述

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

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

SystemError [ERR_SYSTEM_ERROR]:发生系统错误:uv_os_get_passwd 在 Function.module.exports.os (D:\home\site\wwwroot) 的 Object.userInfo (os.js:249:11) 处返回 ENOENT(没有这样的文件或目录) \node_modules\username-sync\index.js:24:17) 在 module.exports (D:\home\site\wwwroot\node_modules\username-sync\index.js:7:25) 在 Object. (D:\home\site\wwwroot\node_modules\async-disk-cache\index.js:26:42) 在 Object.Module 的 Module._compile (internal/modules/cjs/loader.js:688:30)。 _extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at 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::

标签: node.jsnpmmicrosoft-cognitiveazure-appserviceazure-speech

解决方案


推荐阅读