npm安装依赖时 npm error code: 128
- 常见错误日志如下,git无法获取repository
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! exited with error code: 128
- 解决办法
git config --global http.sslverify "false"
git config --global url."https://".insteadOf git://
原因是repository链接头部为git://、ssl校验无法通过等
版权声明:
本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自
最上级!
喜欢就支持一下吧