1.方案一:
1.配置在nvm安装目录下的setting.txt 补充上这两条
node_mirror: https://npm.taobao.org/mirrors/node/
npm_mirror: https://npm.taobao.org/mirrors/npm/
方案二:
卸载,到github下载最新的nvm;
在网上搜索了很多办法,都没效果,最后卸载,下载了github最新版重新安装即可
github下载地址:https://github.com/coreybutler/nvm-windows
node包对应的npm版本,可以在以下地址中查看:
https://nodejs.org/zh-cn/download/releases/