Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

emyller opened this Issue · 2 comments

2 participants


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.



Closed by 4926fa8 Load https lazily


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 join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.