查看仓库
npm get registry
看到的默认的是
https://registry.npmjs.org/
1
设置为taobao
npm config set registry http://registry.npm.taobao.org/
版权声明:本文为weixin_48864616原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
查看仓库
npm get registry
看到的默认的是
https://registry.npmjs.org/
1
设置为taobao
npm config set registry http://registry.npm.taobao.org/