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

Yeoman fails to load user generators #1252

Closed
myrtleTree33 opened this issue Dec 25, 2013 · 10 comments
Closed

Yeoman fails to load user generators #1252

myrtleTree33 opened this issue Dec 25, 2013 · 10 comments

Comments

@myrtleTree33
Copy link

Yeoman fails to recognize custom user generastors in v1.0.7-pre-2.

I have since rolled back to v1.0.6, which works fine.

@SBoudrias
Copy link
Member

what do you mean by custom user generators?

Are they installed via NPM? (and can we have the path to your generator)

@myrtleTree33
Copy link
Author

Yes, they are. There are only 4 default generators available. e.g. generator-angular-fullstack is missing.

@myrtleTree33
Copy link
Author

Those work well, till upgrade.

@SBoudrias
Copy link
Member

Try with the lastest version

@febeling
Copy link

I can confirm the problem for 1.0.7-pre.2, which seems to be the latest version that is released. The generators don't show when running yo -h.

Switching to version 1.0.6 resolves this problem for me.

@SBoudrias
Copy link
Member

check what is your NODE_PATH value

@febeling
Copy link

Here some shell session output, including NODE_PATH.

https://gist.github.com/febeling/8175283

@SBoudrias
Copy link
Member

npm fetch global module from npm -g root, make sure this is the same value as your NODE_PATH

@febeling
Copy link

Setting NODE_PATH that way remediates the problem. Thanks!

@addyosmani
Copy link
Member

As the problem was remedied by the comment from Simon, closing.

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

4 participants