Npm Install errors

I’ve been getting npm install errors too as described here
I’ve tried everything suggested here and made sure permissions are correct.
I use nvm and tried different node versions. Here were my node, npm, & gulp settings respectively.


v0.12.1
2.7.3
3.8.11


v0.12.0
2.5.1
3.8.11

npm cache clear performed and removed node modules before each try.
I’m stuck for the last couple of days :confused:

And what’s your error?

Sorry, forgot to include that.

npm ERR! Darwin 13.3.0
npm ERR! argv “node” “/Users/username/.nvm/versions/node/v0.12.1/bin/npm” "install"
npm ERR! node v0.12.1
npm ERR! npm v2.7.3

npm ERR! null == true
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

@marxz I saw similar errors. I didn’t get a successful install of all modules with a single npm install. After the first couple failed attempts, I manually removed 2-3 of the modules (in node_modules directory), then ran npm-install again to replace them. I repeated that a few times to replace all modules, ending up with no errors. I’ve since gone back and replaced modules one at a time to reduce likelihood that I’m working with corrupted modules.

Check for a npm-debug.log that npm may have placed in your theme root. Any modules standing out as problematic? Could replace them first. Any other specific errors?

This topic is now unlisted. It will no longer be displayed in any topic lists. The only way to access this topic is via direct link.