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

Incorrect npm version on Mac OS X #85

Closed
xapou opened this issue Feb 14, 2016 · 4 comments
Closed

Incorrect npm version on Mac OS X #85

xapou opened this issue Feb 14, 2016 · 4 comments

Comments

@xapou
Copy link

xapou commented Feb 14, 2016

Having installed node via Homebrew with the --without-npm option and then npm, I have the following setup which works fine:

ixav:~ xp$ which node
/usr/local/bin/node
ixav:~ xp$ node --version
v4.2.1
ixav:~ xp$ which npm
/Users/xp/.node/bin/npm
ixav:~ xp$ npm --version
3.7.2
ixav:~ xp$ which npm-check
/Users/xp/.node/bin/npm-check

but when I run npm-check, i get this:

ixav:~ xp$ npm-check -g

npm   😎  MAJOR UP  Major update available: https://docs.npmjs.com/
                   npm install --save npm@3.7.2 to go from 2.14.7 to 3.7.2

Use npm-check -u -g for interactive update.

Not sure where this 2.14.7 version comes from...

@dylang
Copy link
Owner

dylang commented Feb 21, 2016

Interesting issue!

I use https://github.com/jonschlinkert/global-modules to figure out the path for your global modules. Can you see if that module gives you the correct path? If it doesn't, create a bug for Jon and mention this issue so I can follow the progress.

@xapou
Copy link
Author

xapou commented Mar 2, 2016

@dylang: this seems to be a known bug in @jonschlinkert's global-prefix. see Issue

@jonschlinkert
Copy link

yes, sorry. had the flu this past week, just getting caught up. this issue is near the top of my list. I should be able to fix in the next day or two.

@dylang
Copy link
Owner

dylang commented Mar 31, 2016

Most likely related to #87 so closing this one just to keep things clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants