I'm trying to install Node through nvm, but when i type nvm ls-remote I just get N/A.What reason is this and how to solve it ?
This is likely due to an SSL error on your side. If you do curl -v https://nodejs.org/dist/ and curl -v https://iojs.org/dist/, what output do you get?
I get a long list of information,as follows:
GET /dist/ HTTP/1.1
User-Agent: curl/7.35.0
Host: nodejs.org
Accept: _/_< HTTP/1.1 200 OK
- Server cloudflare-nginx is not blacklisted
< Server: cloudflare-nginx
< Date: Wed, 04 Nov 2015 22:31:28 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __cfduid=da2ac856dfa5e2ee191876d637dce56fb1446676288; expires=Thu, 03-Nov-16 22:31:28 GMT; path=/; domain=.nodejs.org; HttpOnly
< CF-Cache-Status: HIT
< Expires: Thu, 05 Nov 2015 02:31:28 GMT
< Cache-Control: public, max-age=14400
< CF-RAY: 2403c4f202f211f5-SJC
<
Index of /dist/
Index of /dist/
../
latest/ 29-Oct-2015 21:04 -
latest-argon/ 03-Nov-2015 20:44 -
latest-v0.10.x/ 09-Jul-2015 21:57 -
latest-v0.12.x/ 09-Jul-2015 23:51 -
latest-v4.x/ 03-Nov-2015 20:44 -
latest-v5.x/ 29-Oct-2015 21:04 -
npm/ 23-May-2014 16:55 -
patch/ 30-Jul-2014 23:02 -
v0.1.100/ 17-Oct-2015 10:42 -
v0.1.101/ 17-Oct-2015 10:42 -
v0.1.102/ 17-Oct-2015 10:42 -
v0.1.103/ 17-Oct-2015 10:42 -
v0.1.104/ 17-Oct-2015 10:42 -
v0.1.14/ 17-Oct-2015 10:42 -
v0.1.15/ 17-Oct-2015 10:42 -
v0.1.16/ 17-Oct-2015 10:42 -
v0.1.17/ 17-Oct-2015 10:42 -
v0.1.18/ 17-Oct-2015 10:42 -
v0.1.19/ 17-Oct-2015 10:42 -
v0.1.20/ 17-Oct-2015 10:42 -
v0.1.21/ 17-Oct-2015 10:42 -
v0.1.22/ 17-Oct-2015 10:42 -
v0.1.23/ 17-Oct-2015 10:42 -
v0.1.24/ 17-Oct-2015 10:42 -
v0.1.25/ 17-Oct-2015 10:42 -
v0.1.26/ 17-Oct-2015 10:42 -
v0.1.27/ 17-Oct-2015 10:42 -
v0.1.28/ 17-Oct-2015 10:42 -
v0.1.29/ 17-Oct-2015 10:42 -
v0.1.30/ 17-Oct-2015 10:42 -
v0.1.31/ 17-Oct-2015 10:42 -
v0.1.32/ 17-Oct-2015 10:42 -
v0.1.33/ 17-Oct-2015 10:42 -
v0.1.90/ 17-Oct-2015 10:42 -
v0.1.91/ 17-Oct-2015 10:42 -
v0.1.92/ 17-Oct-2015 10:42 -
v0.1.93/ 17-Oct-2015 10:42 -
v0.1.94/ 17-Oct-2015 10:42 -
v0.1.95/ 17-Oct-2015 10:42 -
v0.1.96/ 17-Oct-2015 10:42 -
v0.1.97/ 17-Oct-2015 10:42 -
v0.1.98/ 17-Oct-2015 10:42 -
v0.1.99/ 17-Oct-2015 10:42 -
v0.10.0/ 19-Mar-2013 04:14 -
v0.10.1/ 21-Mar-2013 19:04 -
v0.10.10/ 12-Jun-2013 22:46 -
v0.10.11/ 13-Jun-2013 22:11 -
v0.10.12/ 19-Jun-2013 02:19 -
v0.10.13/ 13-Jul-2013 20:14 -
v0.10.14/ 01-Sep-2015 06:15 -
v0.10.15/ 12-Aug-2013 20:52 -
v0.10.16/ 16-Aug-2013 19:35 -
v0.10.16-isaacs-manual/ 16-Aug-2013 16:26 -
v0.10.17/ 22-Aug-2013 17:23 -
v0.10.18/ 09-Oct-2013 03:56 -
v0.10.19/ 09-Oct-2013 17:15 -
v0.10.2/ 03-Apr-2013 05:01 -
v0.10.20/ 09-Oct-2013 17:25 -
v0.10.21/ 21-Oct-2013 19:55 -
v0.10.22/ 02-Dec-2013 16:59 -
v0.10.23/ 21-Jan-2014 18:51 -
v0.10.24/ 21-Jan-2014 19:01 -
v0.10.25/ 11-Apr-2014 20:13 -
v0.10.26/ 11-Apr-2014 20:34 -
v0.10.27/ 07-Aug-2014 17:43 -
v0.10.28/ 07-Aug-2014 18:35 -
v0.10.29/ 09-Jun-2014 17:45 -
v0.10.3/ 26-Apr-2013 23:11 -
v0.10.30/ 31-Jul-2014 19:13 -
v0.10.31/ 19-Aug-2014 22:12 -
v0.10.32/ 16-Sep-2014 23:52 -
v0.10.33/ 23-Oct-2014 19:12 -
v0.10.34/ 17-Dec-2014 21:59 -
v0.10.35/ 22-Dec-2014 21:51 -
v0.10.36/ 26-Jan-2015 19:56 -
v0.10.37/ 12-Mar-2015 04:11 -
v0.10.38/ 23-Mar-2015 21:43 -
v0.10.39/ 22-Jun-2015 16:45 -
v0.10.4/ 26-Apr-2013 23:41 -
v0.10.40/ 09-Jul-2015 21:57 -
v0.10.5/ 13-May-2013 22:31 -
v0.10.6/ 15-May-2013 17:35 -
v0.10.7/ 24-May-2013 02:36 -
v0.10.8/ 12-Jun-2013 19:42 -
v0.10.9/ 12-Jun-2013 19:51 -
v0.11.0/ 03-Apr-2013 18:43 -
v0.11.1/ 15-May-2013 17:47 -
v0.11.10/ 21-Jan-2014 19:19 -
v0.11.11/ 11-Apr-2014 20:49 -
v0.11.12/ 11-Apr-2014 21:06 -
v0.11.13/ 02-May-2014 14:53 -
v0.11.14/ 16-Jan-2015 16:37 -
v0.11.15/ 20-Jan-2015 23:42 -
v0.11.16/ 30-Jan-2015 17:05 -
v0.11.2/ 15-May-2013 18:29 -
v0.11.3/ 27-Jun-2013 00:26 -
v0.11.4/ 13-Jul-2013 19:50 -
v0.11.5/ 12-Aug-2013 21:07 -
v0.11.6/ 22-Aug-2013 17:24 -
v0.11.7/ 09-Oct-2013 17:56 -
v0.11.8/ 02-Dec-2013 18:57 -
v0.11.9/ 02-Dec-2013 19:16 -
v0.12.0/ 06-Feb-2015 22:03 -
v0.12.1/ 24-Mar-2015 02:45 -
v0.12.2/ 31-Mar-2015 23:22 -
v0.12.3/ 14-May-2015 02:33 -
v0.12.4/ 23-May-2015 06:47 -
v0.12.5/ 22-Jun-2015 19:52 -
v0.12.6/ 04-Jul-2015 02:34 -
v0.12.7/ 09-Jul-2015 23:51 -
v0.2.0/ 17-Oct-2015 10:42 -
v0.2.1/ 17-Oct-2015 10:42 -
v0.2.2/ 17-Oct-2015 10:42 -
v0.2.3/ 17-Oct-2015 10:42 -
v0.2.4/ 17-Oct-2015 10:42 -
v0.2.5/ 17-Oct-2015 10:42 -
v0.2.6/ 17-Oct-2015 10:42 -
v0.3.0/ 17-Oct-2015 10:42 -
v0.3.1/ 17-Oct-2015 10:42 -
v0.3.2/ 17-Oct-2015 10:42 -
v0.3.3/ 17-Oct-2015 10:42 -
v0.3.4/ 17-Oct-2015 10:42 -
v0.3.5/ 17-Oct-2015 10:42 -
v0.3.6/ 17-Oct-2015 10:42 -
v0.3.7/ 17-Oct-2015 10:42 -
v0.3.8/ 17-Oct-2015 10:42 -
v0.4.0/ 17-Oct-2015 10:42 -
v0.4.1/ 17-Oct-2015 10:42 -
v0.4.10/ 17-Oct-2015 10:42 -
v0.4.11/ 17-Oct-2015 10:42 -
v0.4.12/ 17-Oct-2015 10:42 -
v0.4.2/ 17-Oct-2015 10:42 -
v0.4.3/ 17-Oct-2015 10:42 -
v0.4.4/ 17-Oct-2015 10:42 -
v0.4.5/ 17-Oct-2015 10:42 -
v0.4.6/ 17-Oct-2015 10:42 -
v0.4.7/ 17-Oct-2015 10:42 -
v0.4.8/ 17-Oct-2015 10:42 -
v0.4.9/ 17-Oct-2015 10:42 -
v0.5.0/ 17-Oct-2015 10:42 -
v0.5.1/ 14-Oct-2015 10:40 -
v0.5.10/ 14-Oct-2015 10:40 -
v0.5.2/ 14-Oct-2015 10:40 -
v0.5.3/ 14-Oct-2015 10:40 -
v0.5.4/ 14-Oct-2015 10:40 -
v0.5.5/ 14-Oct-2015 10:40 -
v0.5.6/ 14-Oct-2015 10:40 -
v0.5.7/ 14-Oct-2015 10:40 -
v0.5.8/ 14-Oct-2015 10:40 -
v0.5.9/ 14-Oct-2015 10:40 -
v0.6.0/ 14-Oct-2015 10:39 -
v0.6.1/ 14-Oct-2015 10:39 -
v0.6.10/ 14-Oct-2015 10:39 -
v0.6.11/ 14-Oct-2015 10:39 -
v0.6.12/ 14-Oct-2015 10:39 -
v0.6.13/ 14-Oct-2015 10:39 -
v0.6.14/ 14-Oct-2015 10:39 -
v0.6.15/ 14-Oct-2015 10:39 -
v0.6.16/ 14-Oct-2015 10:39 -
v0.6.17/ 14-Oct-2015 10:39 -
v0.6.18/ 14-Oct-2015 10:39 -
v0.6.19/ 14-Oct-2015 10:39 -
v0.6.2/ 14-Oct-2015 10:39 -
v0.6.20/ 14-Oct-2015 10:39 -
v0.6.21/ 14-Oct-2015 10:39 -
v0.6.3/ 14-Oct-2015 10:39 -
v0.6.4/ 14-Oct-2015 10:39 -
v0.6.5/ 14-Oct-2015 10:39 -
v0.6.6/ 14-Oct-2015 10:39 -
v0.6.7/ 14-Oct-2015 10:39 -
v0.6.8/ 14-Oct-2015 10:39 -
v0.6.9/ 14-Oct-2015 10:39 -
v0.7.0/ 14-Oct-2015 10:38 -
v0.7.1/ 14-Oct-2015 10:38 -
v0.7.10/ 14-Oct-2015 10:38 -
v0.7.11/ 14-Oct-2015 10:38 -
v0.7.12/ 14-Oct-2015 10:38 -
v0.7.2/ 14-Oct-2015 10:38 -
v0.7.3/ 14-Oct-2015 10:38 -
v0.7.4/ 14-Oct-2015 10:38 -
v0.7.5/ 14-Oct-2015 10:38 -
v0.7.6/ 14-Oct-2015 10:38 -
v0.7.7/ 14-Oct-2015 10:38 -
v0.7.8/ 14-Oct-2015 10:38 -
v0.7.9/ 14-Oct-2015 10:38 -
v0.8.0/ 06-Sep-2015 08:36 -
v0.8.1/ 06-Sep-2015 08:36 -
v0.8.10/ 06-Sep-2015 08:36 -
v0.8.11/ 06-Sep-2015 08:36 -
v0.8.12/ 06-Sep-2015 08:36 -
v0.8.13/ 06-Sep-2015 08:36 -
v0.8.14/ 06-Sep-2015 08:36 -
v0.8.15/ 06-Sep-2015 08:36 -
v0.8.16/ 06-Sep-2015 08:36 -
v0.8.17/ 06-Sep-2015 08:36 -
v0.8.18/ 06-Sep-2015 08:36 -
v0.8.19/ 06-Sep-2015 08:36 -
v0.8.2/ 06-Sep-2015 08:36 -
v0.8.20/ 06-Sep-2015 08:36 -
v0.8.21/ 06-Sep-2015 08:36 -
v0.8.22/ 06-Sep-2015 08:36 -
v0.8.23/ 09-Apr-2013 00:30 -
v0.8.24/ 04-Jun-2013 14:12 -
v0.8.25/ 13-Jun-2013 20:17 -
v0.8.26/ 23-Jun-2014 17:02 -
v0.8.27/ 23-Jun-2014 17:12 -
v0.8.28/ 31-Jul-2014 18:36 -
v0.8.3/ 06-Sep-2015 08:36 -
v0.8.4/ 06-Sep-2015 08:36 -
v0.8.5/ 06-Sep-2015 08:36 -
v0.8.6/ 06-Sep-2015 08:36 -
v0.8.7/ 06-Sep-2015 08:37 -
v0.8.8/ 06-Sep-2015 08:37 -
v0.8.9/ 06-Sep-2015 08:37 -
v0.9.0/ 14-Oct-2015 10:38 -
v0.9.1/ 14-Oct-2015 10:38 -
v0.9.10/ 14-Oct-2015 10:38 -
v0.9.11/ 14-Oct-2015 10:38 -
v0.9.12/ 14-Oct-2015 10:38 -
v0.9.2/ 14-Oct-2015 10:38 -
v0.9.3/ 14-Oct-2015 10:38 -
v0.9.4/ 14-Oct-2015 10:38 -
v0.9.5/ 14-Oct-2015 10:38 -
v0.9.6/ 14-Oct-2015 10:38 -
v0.9.7/ 14-Oct-2015 10:38 -
v0.9.8/ 14-Oct-2015 10:38 -
v0.9.9/ 14-Oct-2015 10:38 -
v4.0.0/ 08-Sep-2015 22:08 -
v4.1.0/ 18-Sep-2015 15:36 -
v4.1.1/ 24-Sep-2015 01:52 -
v4.1.2/ 05-Oct-2015 21:35 -
v4.2.0/ 13-Oct-2015 17:40 -
v4.2.1/ 14-Oct-2015 14:37 -
v4.2.2/ 03-Nov-2015 20:44 -
v5.0.0/ 29-Oct-2015 21:04 -
index.json 03-Nov-2015 20:43 48404
index.tab 03-Nov-2015 20:43 26738
I see that you're using SSLv3, which is old and insecure - I think you need to update your machine's openSSL, and root CAs. You may be able to do this simply by updating curl itself.
It still doesn't work when i fished update curl.
So nvm ls-remote node still returns N/A, and curl -v https://nodejs.org/dist/ still prints out the same info?
Yes,i don't know what i should do next
It can work normally now ! Thanks a lot!
Thanks for confirming!
I ran into this exact issue because my corporate proxy was not set.
Exporting the following environment variable fix my problem:
$ export ALL_PROXY=http://proxyhost:port
i'm not familiar with "ALL_PROXY" nor with what tools respect it - can you clarify?
FWIW I had the same issue as @njtman (corporate proxy) and solved it using his solution.
Basically I had set up the proxy on an operating system level (network settings in Mac os) but curl was ignoring it. Even though I'm not familiar with ALL_PROXY either, I tried it and it worked.
Would love to have some more time to investigate deeper but it's my first day at this new job and I have plenty of things to do.
Thanks, appreciate the confirmation. No idea tho why a corporation wouldn't set up their proxy transparently (at the network level), as opposed to making individual machines configure it.
I faced the same issue but by curl was not working as well so i added the http_proxy in my .bashrc file.
For me curl --verbose https://nodejs.org/dist/ is returning :
* Could not resolve host: nodejs.org
* Closing connection 0
curl: (6) Could not resolve host: nodejs.org
@AmmarHasan sounds like either the site is down, your dns isn’t resolving it properly, or you have something on your network blocking your connection to it. If you’re still having trouble, please file a new issue.
@ljharb yes when I switched to other network everything worked
curl -v https://iojs.org/dist/
Same question as above, but I got this output on the terminal: curl: (48) An unknown option was passed in to libcurl
@wenlittleoil your curl doesn't support -v? Please file a new issue and fill out the template :-)