Created
September 15, 2018 22:35
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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