Since npm dropped support for self signed certs yesterday, I can no longer install any packages from npm running on Windows Azure.
On my local machine I could solve
You can't run npm install npm -g. npm install being broken is the problem, remember? A good tip from the comments on npm's blog post, worked like a charm:
npm install npm -g
npm install
npm config set strict-ssl false npm install npm -g npm config set strict-ssl true
You may need to use sudo.
sudo