Nvm: No versions of node, only io.js

Created on 19 Feb 2015  Â·  8Comments  Â·  Source: nvm-sh/nvm

I can't seem to install any version of node-proper using nvm on my server. I only have options to install io.js. This is from a fresh install of nvm using the _Install Script_ instructions

Why is this?

$cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.10 (Tikanga)

$nvm --version
0.23.3

$nvm ls-remote
    iojs-v1.0.0
    iojs-v1.0.1
    iojs-v1.0.2
    iojs-v1.0.3
    iojs-v1.0.4
    iojs-v1.1.0
    iojs-v1.2.0
SSL issue installing node

Most helpful comment

for now, my solution is:

NVM_NODEJS_ORG_MIRROR=http://nodejs.org/dist nvm ls-remote

All 8 comments

@ctataryn you probably don't have updated SSL certificate authorities on your machine. Try nvm_download -L $NVM_NODEJS_ORG_MIRROR/ --verbose -o - and you should see the error.

Duplicate of #653, #638.

@ljharb thanks for your lightning fast response. You were correct. Now, I don't own the server or have any type of sudo over it. In fact I custom built curl + openssl just so i could then custom build git to access https repos. That being said, and if you happen to know, where would I go from here?

$nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ --verbose -o -
* About to connect() to nodejs.org port 443
*   Trying 165.225.133.150... connected
* Connected to nodejs.org (165.225.133.150) port 443
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSLv2, Client hello (1):
SSLv3, TLS handshake, Server hello (2):
SSLv3, TLS handshake, CERT (11):
SSLv3, TLS alert, Server hello (2):
SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
* Closing connection #0

P.S. why wouldn't https be failing for locations such as github, why only nodejs?

@ctataryn because nodejs.org updated their SSL certificates post-heartbleed, and the signing CA they happened to use isn't installed by default in older OS's.

Honestly, if you can't convince the owner of the server to upgrade its SSL stuff, I'd use another server ¯_(ツ)_/¯

Thanks for your help! Where's the :facepalm: emoticon when you need it!

for now, my solution is:

NVM_NODEJS_ORG_MIRROR=http://nodejs.org/dist nvm ls-remote

Anyone have an idea what I am doing wrong here?

~/dev/code/tmp$ nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ --verbose -o -
Can't be verbose and quiet at the same time.

@jrgleason what does curl -q -L -s $NVM_NODEJS_ORG_MIRROR/ --verbose -o - output? I think that the --verbose command won't work with wget, since when i run wget -q $NVM_NODEJS_ORG_MIRROR/ --verbose -O - i get that error.

If you don't have curl installed, you could try wget $NVM_NODEJS_ORG_MIRROR/ --verbose -O -?

Was this page helpful?
0 / 5 - 0 ratings