![](/style/images/good.png)
7
![](/style/images/bad.png)
NPM网络问题解决方案
source link: https://ljp.me/archives/42
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
NPM网络问题解决方案 – 鹏.
![:)](https://pixel.wp.com/g.gif?v=ext&j=1%3A9.7&blog=192682829&post=42&tz=8&srv=ljp.me&host=ljp.me&ref=&fcp=1157&rand=0.16663874367587317)
NPM网络问题解决方案
NPM网络问题解决方案
使用淘宝镜像
npm config set registry https://registry.npm.taobao.org
npm config delete registry
使用cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
npm config set proxy=http://127.0.0.1:8889
npm config delete proxy
![:)](https://pixel.wp.com/g.gif?v=ext&j=1%3A9.7&blog=192682829&post=42&tz=8&srv=ljp.me&host=ljp.me&ref=&fcp=1157&rand=0.16663874367587317)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK