1、修改npm为淘宝源
npm config set registry https://registry.npm.taobao.org
2、还原
npm config set registry https://registry.npmjs.org
1、修改npm为淘宝源
npm config set registry https://registry.npm.taobao.org
2、还原
npm config set registry https://registry.npmjs.org