云开发 NPM安装本地依赖wx-server-sdk报错!
发布于 5 年前 作者 li49 16149 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现
  • 复现路径
  • 提供一个最简复现 Demo

报错信息如下,请高手赐教

npm install --production

Unhandled rejection Error: EPERM: operation not permitted, open ‘c:\Program Files\nodejs\node_cache\_cacache\tmp\fa31331d’

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:

npm ERR!     <https://npm.community>

好像是权限问题,在管理员模式下安装成功

回到顶部