旧的淘宝镜像仓库:https://registry.npm.taobao.org
需要替换为最新的淘宝镜像仓库:https://registry.npmmirror.com
- 查看镜像仓库
npm config get registry
- 设置镜像仓库
npm config set registry https://registry.npmmirror.com
旧的淘宝镜像仓库:https://registry.npm.taobao.org
需要替换为最新的淘宝镜像仓库:https://registry.npmmirror.com
npm config get registry
npm config set registry https://registry.npmmirror.com