npm install -g 错误集锦
生活随笔
收集整理的這篇文章主要介紹了
npm install -g 错误集锦
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、切換源安裝:npm config set registry http://registry.cnpmjs.org,參考http://yijiebuyi.com/blog/b12eac891cdc5f0dff127ae18dc386d4.html
2、尋找源,請使用npm源管理器nrm:http://segmentfault.com/a/1190000000473869
3、ionic安裝報錯:
error:if you are behind a proxy, please make sure that the proxy config is set properly...
error:in most cases you are behind a proxy or have bad network settings....
解決辦法:切換源,npm config set registry http://r.cnpmjs.org/
總結
以上是生活随笔為你收集整理的npm install -g 错误集锦的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 前端web页面支持MQTT消息推送
- 下一篇: Nginx日志优化