nvm的settting的正确打开方式,网上那么多贴都是错的

nvm的settting的正确打开方式,网上那么多贴都是错的,第1张

C:\Users\Neusoft\AppData\Roaming\nvm

settting

root: C:\Users\Neusoft\AppData\Roaming\nvm
path: C:\Program Files\nodejs
node_mirror: npm.taobao.org/mirrors/node/
npm_mirror: npm.taobao.org/mirrors/npm/

C:\Windows\system32>nvm install 16.15.0
Downloading node.js version 16.15.0 (64-bit)...
Error while downloading http://npm.taobao.org/mirrors/node/v16.15.0/node-v16.15.0-win-x64.zip - read tcp 192.168.3.21:65426->117.34.40.228:443: wsarecv: An existing connection was forcibly closed by the remote host.
Extracting...
Error extracting from Node archive: zip: not a valid zip file
Could not download node.js v16.15.0 64-bit executable.

C:\Windows\system32>nvm install 16.14.0
Downloading node.js version 16.14.0 (64-bit)...
Extracting...
Complete


Installation complete. If you want to use this version, type

nvm use 16.14.0

C:\Windows\system32>nvm install 16.15.0
Downloading node.js version 16.15.0 (64-bit)...
Extracting...
Complete


Installation complete. If you want to use this version, type

nvm use 16.15.0

C:\Windows\system32>nvm list

    16.15.0
    16.14.0
    14.18.0

C:\Windows\system32>nvm use 16.15.0
Now using node v16.15.0 (64-bit)

C:\Windows\system32>node -V
node: bad option: -V

C:\Windows\system32>node -v
v16.15.0

C:\Windows\system32>

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1297908.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-10
下一篇 2022-06-10

发表评论

登录后才能评论

评论列表(0条)

保存