nvm install 报错及解决( Node.js vX 64bit isn't available right now. Could not download node.js v)

背景:安装nvm的报错信息

nvm install 13.0.0
Node.js v13.0.0 64bit isn't available right now.
Could not download node.js v13.0.0 64-bit executable.

 

过程描述:

nvm 正常安装。

https://github.com/coreybutler/nvm-windows/releases

选 nvm-setup.zip

 

配置settings.txt。(不配置报另外一个错,这个是node淘宝镜像)

arch: 64 
proxy: none

node_mirror: npm.taobao.org/mirrors/node/
npm_mirror: npm.taobao.org/mirrors/npm/

然后 就出现了以上的错误。

Node.js v13.0.0 64bit isn't available right now.
Could not download node.js v13.0.0 64-bit executable.

分析:

查看nvm目录,文件生成了,但是node对应版本没有。

问题猜测:被某网络墙了,windows版本有问题。。。

尝试解决:

到镜像目录手动下载解压并放到对应文件夹:

-->> https://npm.taobao.org/mirrors/node

找到对应版本,例如:

nvm install 报错及解决( Node.js vX 64bit isn't available right now. Could not download node.js v)_第1张图片

 

进入选择:(我的是window,64位)

nvm install 报错及解决( Node.js vX 64bit isn't available right now. Could not download node.js v)_第2张图片

下载解压到nvm对应版本目录:

nvm install 报错及解决( Node.js vX 64bit isn't available right now. Could not download node.js v)_第3张图片

nvm install 报错及解决( Node.js vX 64bit isn't available right now. Could not download node.js v)_第4张图片

 

nvm user x.x.x

注:如果报D://Program ****之类的乱码错误,重新安装到,新建的不带空格的目录 重新安装nvm,例如我安装到 D:\Program\nvm 下

node -v

~~~~~~~~~~~~~~~~~~~~~完成

 

你可能感兴趣的:(node,nvm,npm)