Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

"segmentation fault" in commands that require the https module. #674

Closed
emyller opened this issue Mar 6, 2011 · 2 comments
Closed

"segmentation fault" in commands that require the https module. #674

emyller opened this issue Mar 6, 2011 · 2 comments

Comments

@emyller
Copy link

emyller commented Mar 6, 2011

I've been trying to install npm since yesterday, but everytime I try to run install, I get a seg fault. No traceback or any kind of feedback. I can't even install npm itself, obviously.

I decided to manually follow the code to find the exact place where it crashes, and it's at the require('https') in the lib/utils/fetch.js module.

I have compiled and installed node with the --without-ssl option; so, since ssl is optional, the npm installation should not fail like this. If ssl is really required for npm installation, it should, at least, let the user know about that instead of just crashing with no feedback.

Thanks.

@isaacs
Copy link
Contributor

isaacs commented Mar 6, 2011

Closed by 4926fa8 Load https lazily

@isaacs
Copy link
Contributor

isaacs commented Mar 6, 2011

Fixed in 0.3.15. Make sure that your npm config get registry isn't an https url.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants