Reputation: 65775
I have XCode and NodeJS installed but can't use npm. Here is how I installed npm:
curl http://npmjs.org/install.sh | sh
but when I try to install a package like express it doesn't response and my command line goes to "just type" mode that I just can type characters including enter. I'm trying to install express with this command:
npm install express
Upvotes: 2
Views: 767
Reputation: 45568
This is a known issue in node, not npms fault. Try this:
npm install express --registry http://registry.npmjs.org/
Basically, https is partially broken in the newest versions of node.
Edit: Github Issue here: https://github.com/joyent/node/issues/1531
Upvotes: 2