临时切换淘宝源下载包

npm的镜像替换成淘宝

获取当前的npm镜像地址

npm get registry 

换成淘宝的

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

换成原来的

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

原文地址:https://www.cnblogs.com/oujianjun/p/10464382.html