解决 npm install的时候报npm ERR! exited with error code: 128
文章目录
npm install报错 code:128 和 Error: EPERM: operation not permitted_
解决办法:
执行如下命令:
git config --global http.sslverify "false"
再执行 npm install
如果上述命令执行完后,还是报那个错误,继续执行如下命令
git config --global url."https://".insteadOf git://
可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
Error: EPERM: operation not permitted问题
删除C:\Users\用户名.npmrc 文件就ok
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论