NVM,节点版本管理器无法在Windows上运行

问题描述 投票:0回答:1

我也尝试过其他问题,但找不到具体的答案。我正在尝试在Windows上安装nvm,以便在不同的项目上使用不同的节点版本。

我安装了nvm,但无法运行nvm install。我得到这个终端输出:

nvm install v10.9.0
Clang v3.5+ detected! CC or CXX not specified, will use Clang as C/C++ compiler!
Downloading https://nodejs.org/dist/v10.9.0/node-v10.9.0.tar.xz...
Warning: Failed to create the file /home/iClick
Warning: Digital/.nvm/.cache/src/node-v10.9.0/node-v10.9.0.tar.xz: No such
Warning: file or directory

curl: (23) Failed writing body (0 != 846)
Binary download from https://nodejs.org/dist/v10.9.0/node-v10.9.0.tar.xz failed, trying source.
grep: /home/iClick Digital/.nvm/.cache/src/node-v10.9.0/node-v10.9.0.tar.xz: No such file or directory
Provided file to checksum does not exist.
node.js nvm
1个回答
0
投票

Windows nvm是unix nvm中的一个不同的版本。您可能试图下载错误的。下载它here。只需提取并运行设置它应该可以正常工作。对于不同类型的包格式,请遵循以下link

© www.soinside.com 2019 - 2024. All rights reserved.