npm 镜像切换

1.得到原本的镜像

npm get registry
-> https://registry.npmjs.org/

2.设置成淘宝镜像

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

3.设置成原来的

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


版权声明:本文为HackerZhou原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。