node.js - 发生系统错误: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::
解决方案
推荐阅读
- java - Glide 使用 URL 从 firebase 加载图像非常缓慢
- angularjs - 使用 ui-router 的基于组件的路由 | AngularJS
- javascript - 箭头函数中的“this”是否与该箭头函数之外的“var that = this”中的“that”相同?
- android - MVVM Recyclerview Livedata Room SearchView
- generics - 通用 JSON 反序列化
- javascript - 使用原型继承与委托模式
- excel - 对象变量或未设置块 - 用户窗体
- .htaccess - 如何从 htaccess 中的 HTTP_REFERER 获取域
- visual-studio-code - 在 Visual Studio Code 中,我可以在 tasks.json 中引用 c_cpp_properties.json 中的配置元素吗?
- php - 在 WordPress 上使用复制器插件安装克隆站点时,为什么会出现安装错误,指出“wp-config.php 为空”?