-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX Yosemite curl issue - nvm 0.23.3 ls-remote returns N/A #669
Comments
Interesting - I have Yosemite and have never run across this issue. Can you provide the full error text of what happens without the |
Sure:
|
Do you have the default
|
What's bizarre though, is going through Safari Browser shows everything fine with the Certs. I agree, -k is not a good option, obviously http would be the preferred manner to access the dist. lists over -k. doing doing
I also checked to be sure I had no MacPort of curl installed, and I don't have that installed either... Is your curl version/details the same as mine? |
Mine is: $ curl --version
curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz so it looks like you do have an old one. Do you have all the Apple security updates installed? They likely updated curl and openssl post-heartbleed. |
So I figured it out. I figured something was overriding it in my .bash_profile. Had to look at every entry in my .bash_profile. XAMPP includes a copy of curl in its bin directory, which is the old 7.30.0 version. I just renamed the curl binary in the /Applications/XAMPP/xamppfiles/bin directory and it brought me to 7.37.1. Now |
ah ha, glad you figured it out :-) Thanks for working through it! |
On OSX Yosemite, with a fresh install of nvm, when I run
nvm ls-remote
it returns N/A.When I did a manual call of
curl $NVM_NODEJS_ORG_MIRROR
it returned an SSL Self Signed Certificate in Chain error. Running that same command again with the -k option, showed that it is a 301 redirect, which I assume is correct.I resolved this bug by adding a -k to the nvm_download function line 35:
The NVM_NODEJS_ORG_MIRROR variable is set to https://nodejs.org/dist just in case anyone was wondering.
I've verified all of the certificates in my system are good. This issue seems to only be effecting Yosemite, as I've tried it on Mavericks with 0.23.3 without issues.
Other than switching the urls to being both http, not sure if/when this would be resolved in Yosemite.
The text was updated successfully, but these errors were encountered: