Skip to content

Instantly share code, notes, and snippets.

@Mason-McGough
Created September 15, 2018 22:35
Show Gist options
  • Save Mason-McGough/195b74d7c4d61531c29de1a303831b64 to your computer and use it in GitHub Desktop.
Save Mason-McGough/195b74d7c4d61531c29de1a303831b64 to your computer and use it in GitHub Desktop.
`nvm ls-remote` fails due to out-of-date SSL certificate store on system
# After installing npm, using the following command:
nvm ls-remote
# This returned `N/A` for me, indicating that it could not pull any valid versions of `node` from the remote
# server. This was likely due to it trying to access https urls without valid certificates.
# After adding the following to `.bashrc`:
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
# The issue was solved. I then used the following to install `node`:
nvm install node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment