- 切换成淘宝镜像
npm config set registry http://registry.npm.taobao.org/
- 切换回原始npm仓库镜像
npm config set registry https://registry.npmjs.org/
npm config set registry http://registry.npm.taobao.org/
npm config set registry https://registry.npmjs.org/