美文网首页
npm 常见安装错误

npm 常见安装错误

作者: 三丰张 | 来源:发表于2017-12-04 13:06 被阅读71次

1: python环境没有配置对
2: c++ 运行库没有安装
3: node版本过低
4:某个依赖安装错误,请先尝试去 该依赖的 github或者npm 看介绍。
5:npm install 安装的时候报错 Command failed: /usr/bin/git clone --depth=1 -q -b 4.0 git://github.com/gulpjs/gulp.git /home/coffee/.npm/_cacache/tmp/git-clone-0ece303b
解决方案

  git config --global url."https://".insteadOf git://

相关文章

网友评论

      本文标题:npm 常见安装错误

      本文链接:https://www.haomeiwen.com/subject/kptxixtx.html