PS C:\Users\lin\Documents\workspace\wb> nvm install 20.16.0
Could not retrieve https://nodejs.org/dist/latest/SHASUMS256.txt.
Get "https://nodejs.org/dist/latest/SHASUMS256.txt": dial tcp 104.20.23.46:443: i/o timeout
解决方法:
找到nvm目录中,settings.txt文件 增加
node_mirror:npm.taobao.org/mirrors/node/
npm_mirror:npm.taobao.org/mirrors/npm/
将资源改为国内资源即可
亲测有效哦。