-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Generators path not found causing no installed generators message. #46
Comments
Before fix-path is run, my path properly has |
@sindresorhus Any input on what is going on here? Also, I feel like if we need "fix-path", then we should probably implement this directly in yeoman-environment so it support multiple type of environment. |
Sounds sensible. Should I prepare a PR for it? |
No, it's for OS X GUI apps. There's absolutely no reason for it to be in |
@mfunkie Weird. Works fine for me. What OS are you on? What do you get when running |
But then we should at least provide a better way to pass a specific |
@stefanbuck No. The |
@mfunkie any news on your side regarding this issue? Did you tried what @sindresorhus suggested? |
Oh wow, I haven't thought about it in months. I could take another look in the next couple of days if that would help. |
That would be super helpful 👍 Thank you |
When running the Yeoman app, I noticed that in this block of code
https://github.com/yeoman/yeoman-app/blob/master/src/browser/yo/environment.js#L18
The path was not successfully split.
I started with the full path before:
/usr/local/lib/node_modules/npm/bin/node-gyp-bin /Users/mfunk/Documents/yeoman-app/node_modules/.bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin
And the array of paths after is
['/usr/local/lib/node_modules/npm/bin/node-gyp-bin /Users/mfunk/Documents/yeoman-app/node_modules/.bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin']
If the paths were successfully split, it would have found my generators properly.
The text was updated successfully, but these errors were encountered: