When running:
nvm install iojs-v2
I get the following error:
######################################################################## 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
I'm not sure why the curl command is failing. Any help would be much appreciated. Thanks!
UPDATE:
I commented out all the localhost records in my /etc/host
file. Now running nvm install iojs-v2
returns:
######################################################################## 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
UPDATE 2:
I'm using OSX 10.10.5. IOJS is trying to use Darwin. I believe that's correct, but wanted to list this.
(nvm maintainer here)
Specifically,
curl: (7) Failed to connect to localhost port 80: Connection refused
is the reason it's failing. Have you perhaps set a custom curl proxy?Please try updating to the latest version of
nvm
; if it still doesn't work, please file an issue on the project repo and fill out the issue template.