-
Notifications
You must be signed in to change notification settings - Fork 37
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
strange --global behavior #73
Comments
I have not been able to reproduce this - are you using the latest version on npmd? |
can you post output of |
sure
lemme look a bit more into this a second...
now try it :) notes:
|
aha, so it's probably rchecking for already available modules in the ./node_modules etc, but it should look for that starting from where it will be installed (or just skip that step for global modules) |
it gets mixed up with locals and globals for resolution... actually, this could be a npmd-resolve issue now that I think about it, but either way, it can be reproduced like this:
npmd install npmd-config --greedy
to install locallynpmd install -g npmd-config --greedy
to install globallynpmd-config
a try now on the terminal, and it will tell you that it can't find optimistright, so if you go to any other directory now and re-run the
npmd install -g npmd-config
, the--global
option will install the missing depsI don't think the greedy option makes any difference (didn't actually try it ... and come to think of it, why isn't greedy on by default?)
love npmd man :) it's great
keep it real
The text was updated successfully, but these errors were encountered: