问候每个人!
通过node
nvm
时出现此问题
当我输入:
$ nvm install 5.5.0
有这个:
Downloading https://nodejs.org/dist/v5.5.0/node-v5.5.0-darwin-x86.tar.xz...
######################################################################## 100.0%
WARNING: checksums are currently disabled for node.js v4.0 and later
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Binary download failed, trying source.
######################################################################## 100.0%
Checksums empty
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Binary download failed, trying source.
Installing node v1.0 and greater from source is not currently supported
主要问题是:tar: Unrecognized archive format
因为(可能)文件格式为:tar.xz
答案 0 :(得分:0)
在谷歌和git花了几个小时来解决这个问题我没有找到解决方案。然后开始阅读nvm
文档并找到强制安装选项-s
这对所有版本都有帮助,但现在只安装了nvm install -s 0.12.9