Skip to content

npm: SSL error on v2.2.0 #1850

@targos

Description

@targos

Attempting 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.httpIssues or PRs related to the http subsystem.npmIssues and PRs related to the npm client dependency or the npm registry.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions