-
Notifications
You must be signed in to change notification settings - Fork 58
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 not found #50
Comments
Hmm, that's weird. ls -l `which slush` Also what does |
ls -l echo $NODE_PATH : empty |
Ok, and what does |
I use nvm. |
I see, then I think the issue is caused by Also the next version of Slush will search for modules in the |
Sorry but slush being installer after nvm |
There seems to be multiple paths involved here (and multiple NodeJS versions as well):
So I think you should try this:
If step 3 is ok but not 4 try to remove the symlink: |
@dmassiani any progress with this? |
@joakimbeng sorry, I have many works since few weeks. Before breaking node, I need to finish it :) |
@dmassiani no worries, I know how it is! |
It looks like slush don't take npm's /lib/node_modules in account when collecting lookup paths (see bin/slush.js)
|
I just had the same issue. I started to install slush before I remembered to use NVM with the version of Node I wanted to install. I switched to that version using nvm and installed again. By using the commands above I found that it was finding the version of slush that installed before I switched to the current version of nvm. I removed that one manually, and then everything started working. |
Hello,
I install generators globally but slush don't find any generators.
I'm using node 5.0
Please see screenshot
The text was updated successfully, but these errors were encountered: