配置国内NPM镜像仓库(最新的淘宝仓库地址)
旧的淘宝镜像仓库:https://registry.npm.taobao.org
需要替换为最新的淘宝镜像仓库:https://registry.npmmirror.com
详情请查看仓库变更公告
1、查看镜像仓库
npm config get registry
2、设置镜像仓库
npm config set registry https://registry.npmmirror.com
只有经历过,才会懂得了!
旧的淘宝镜像仓库:https://registry.npm.taobao.org
需要替换为最新的淘宝镜像仓库:https://registry.npmmirror.com
详情请查看仓库变更公告
1、查看镜像仓库
npm config get registry
2、设置镜像仓库
npm config set registry https://registry.npmmirror.com