npm 使用淘宝镜像
#旧版 npm config set registry https://registry.npm.taobao.org #新版 npm config set registry https://registry.npmmirror.com/ #验证命令 npm config get registry #返回结果为 https://registry.npm.taobao.org , 说明淘宝镜像配置成功
npm 切换回官方源
npm config set registry https://registry.npmjs.org/