Closed ghost closed 10 years ago
I did the above work on Windows OS. I also tried using latest version of node (0.10.21) on Linux (Ubuntu Latest) but did not worked and gave me same error ?
Am i missing some step during installation?
Seems like it's possibly an issue with some previously-installed modules. You can try listing your globally installed modules with npm list -g
, and looking for any errors in the output. You can then do npm list -g <module name>
to see if anything is depending on the problem module, and then upgrade / uninstall it...
Since I see a dependency error, I owuld have tried to manual install the dependency myself . Happens sometimes with me .Try npm install -g generator-karma . And then try again
@Ashwinh Hmm- tried this on the latest version of npm? We've run into similar problems, but it seems to get better if you sudo npm install npm -g
. Other general troubleshooting tips to try:
$ npm cache clear
$ sudo npm cache clear
$ rm -rf node_modules
If you run into further issues, feel free to hit us up in IRC. I'd say check stackoverflow as well. If you've verified that it's an issue with npm, please create an npm issue and let us know-- I'll do my best to help look into it, time permitting.
Also, some related issues that might help:
Good luck!
Hi,
I am using Node v0.10.17 and fired following NPM command. and my installation failed.
npm -g install sails
following is my console after executing command