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>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)