npm修改为淘宝源
1. 查看现在使用的源
[root@qm3 /]# npm get registry
https://registry.npmjs.org/
2. 修改为淘宝源。
npm config set registry http://registry.npm.taobao.org/
除特别注明外,本站所有文章均为奇妙伞原创,转载请注明出处来自https://qm3.com.cn/post/277.html
1. 查看现在使用的源
[root@qm3 /]# npm get registry
https://registry.npmjs.org/
2. 修改为淘宝源。
npm config set registry http://registry.npm.taobao.org/
除特别注明外,本站所有文章均为奇妙伞原创,转载请注明出处来自https://qm3.com.cn/post/277.html