运行时:
nvm install iojs-v2
我收到以下错误:
######################################################################## 100.0%
curl: (7) Failed to connect to localhost port 80: Connection refused
grep: /Volumes/Macintosh HD/Users/ev_blurbs/.nvm/bin/iojs-v2.5.0-darwin-x64/iojs-v2.5.0-darwin-x64.tar.gz: No such file or directory
Binary download failed, trying source.
Installing iojs from source is not currently supported
我不确定为什么 curl 命令失败。任何帮助将非常感激。谢谢!
更新:
我注释掉了我/etc/host
文件中的所有本地主机记录。现在运行nvm install iojs-v2
返回:
######################################################################## 100.0%
curl: (47) Maximum (50) redirects followed
grep: /Volumes/Macintosh HD/Users/ev_blurbs/.nvm/bin/iojs-v2.5.0-darwin-x64/iojs-v2.5.0-darwin-x64.tar.gz: No such file or directory
Binary download failed, trying source.
Installing iojs from source is not currently supported
更新 2:
我正在使用 OSX 10.10.5。IOJS 正在尝试使用 Darwin。我相信这是正确的,但想列出这一点。