Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't npm global install #188

Closed
jketcham opened this issue Jul 13, 2015 · 1 comment

Comments

@jketcham
Copy link

commented Jul 13, 2015

Getting this error when I run npm install -g standard:

➜  ~  npm install -g standard
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/Users/jket/.nvm/v0.10.26/bin/npm" "install" "-g" "standard"
npm ERR! node v0.10.26
npm ERR! npm  v2.8.2
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: rocambole@'>=0.6.0 <2.0.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.3.2","0.3.3","0.3.0","0.3.1","0.3.6","0.3.4","0.3.5","0.2.3","0.2.2","0.2.1","0.2.0","0.1.0","0.1.1","0.5.0"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'esformatter-semicolon-first'
npm ERR! notarget

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jket/npm-debug.log

Not sure if this is some issue on my end or something upstream, any insights greatly appreciated!

@feross

This comment has been minimized.

Copy link
Member

commented Jul 13, 2015

Looks like your npm cache got corrupted somehow. Once npm3 is released hopefully we'll see a lot less of these kinds of issues.

Try this:

npm cache clean
sudo npm cache clean
npm install -g standard

@feross feross closed this Jul 14, 2015

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.