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

Method getNpmPaths of resolver.js doesn't contain OS X default nodejs path #43

Closed
anstarovoyt opened this issue Jun 25, 2015 · 2 comments

Comments

@anstarovoyt
Copy link

Here https://github.com/yeoman/environment/blob/master/lib/resolver.js#L140 you add default the linux path but default OS X path is '/usr/local/lib/node_modules/'.
So if I try to run non-globally installed yo it cannot find generators.

@SBoudrias
Copy link
Member

Something else is probably wrong then, because these paths are really a safety fallback.

Either way, PR welcomed to add /usr/local/lib/node_modules/ in there.

@anstarovoyt
Copy link
Author

@SBoudrias thanks

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

No branches or pull requests

2 participants