其他分享
首页 > 其他分享> > npm安装超时,使用淘宝镜像

npm安装超时,使用淘宝镜像

作者:互联网

npm安装超时,使用淘宝镜像

1.切换淘宝镜像:

 npm config set registry https://registry.npm.taobao.org

2.切换其他:

npm ---- https://registry.npmjs.org/
cnpm --- http://r.cnpmjs.org/
taobao - http://registry.npm.taobao.org/
eu ----- http://registry.npmjs.eu/
au ----- http://registry.npmjs.org.au/
sl ----- http://npm.strongloop.com/
nj ----- https://registry.nodejitsu.com/

标签:npm,http,-----,registry,org,镜像,超时,npmjs
来源: https://www.cnblogs.com/zlp520/p/14695118.html