GeezerVison is showing github.com — npm: SSL error on v2.2.0 · Issue #1850 · nodejs/node
npm: SSL error on v2.2.0 #1850Labels confirmed-bugIssues and PRs for confirmed bugs.httpIssues and PRs related to the http subsystem.npmIssues and PRs related to the npm client dependency or the npm registry. DescriptionAttempting to install a module with npm fails with the following error:
SSL Error: https://registry.npmjs.org/test does not support SSL.
Reproduced on Windows 8.1 x64 and Windows 10 x64.
The error only happens for modules that were never installed on the machine. My guess is that npm uses the local cache for known modules.
C:\Users\Michael\test>iojs -v
v2.2.0
C:\Users\Michael\test>npm -v
2.11.0
C:\Users\Michael\test>npm install abc
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\iojs\\node.exe" "C:\\Program Files\\iojs\\node
_modules\\npm\\bin\\npm-cli.js" "install" "abc"
npm ERR! node v2.2.0
npm ERR! npm v2.11.0
npm ERR! code ESSL
npm ERR! SSL Error: https://registry.npmjs.org/abc does not support SSL
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Michael\test\npm-debug.log
C:\Users\Michael\test2>iojs -v
v2.1.0
C:\Users\Michael\test2>npm -v
2.10.1
C:\Users\Michael\test2>npm install abc
[email protected] node_modules\abc
Activitytargos commented on May 31, 2015 campersau commented on May 31, 2015 rvagg commented on May 31, 2015 this seems to be impacting Linux as well, OSX appears to be fine
ping @othiym23, @iama targos commented on May 31, 2015 targos commented on May 31, 2015 this broke the response.hasOwnProperty('client') check from request rvagg commented on May 31, 2015 reversion @ #1851, see comments there, sorry for pulling you in @othiym23 & @iama (I meant that to be @-iarna, so sorry whoever you are). targos commented on May 31, 2015 there was no CI run for #1829 :( rvagg commented on May 31, 2015 probably wouldn't have helped, we're still shaving the test-npm yak, /cc @fishrosk123 targos commented on May 31, 2015 changed the title [-]npm (v2.2.0): SSL error on Windows[/-] [+]npm: SSL error on v2.2.0[/+] on May 31, 2015vitaly-t commented on May 31, 2015 wzrdtales commented on May 31, 2015 +1, my tests on travis with io.js are also broken Globegitter commented on May 31, 2015 @rvagg Just installed iojs 2.2.0 on mac osx and the same bug is affecting me. seemsindie commented on May 31, 2015 +1 Same error here on arch linux added httpIssues and PRs related to the http subsystem. and removed tlsIssues and PRs related to the tls subsystem. on May 31, 2015silverwind commented on May 31, 2015 chrisdickinson commented on Jun 1, 2015
Request's response.hasOwnProperty('client') check does not see it because it is a getter/setter.
A {g,s}etter would have been okay – the problem is that the property was set on the prototype instead of the instance. Fishrock123 commented on Jun 1, 2015
A {g,s}etter would have been okay – the problem is that the property was set on the prototype instead of the instance.
Yes, I think we should do a static analysis and reconsider deprecating in the future. dougwilson commented on Jun 1, 2015 It's amusing to see so many people's tests failing on Travis CI because of this issue, mainly because many, many module are only specifying iojs for nvm to install, which is simply asking for a lot of pain. capaj commented on Jun 1, 2015 @dougwilson still lesser pain than to update travis.yml manually with each new io.js release. I for one will not bother to specify an io.js version in my travis.yml, because I think that this situation will not repeat again. silverwind commented on Jun 1, 2015 2.2.1 is out, fixing this. Get it while it's hot! sbrl commented on Jun 3, 2015 How can I update npm if when I run npm update npm -g --force it fails because of this bug? ljharb commented on Jun 3, 2015 SponsorMember More actions @sbrl you need to update io.js itself to v2.2.1 - you can't fix it with npm. also npm install -g npm@latest to update npm. sbrl commented on Jun 3, 2015
MetadataMetadataconfirmed-bugIssues and PRs for confirmed bugs.httpIssues and PRs related to the http subsystem.npmIssues and PRs related to the npm client dependency or the npm registry. DevelopmentNo branches or pull requestsIssue actions
|