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

Yo doesn't install any generators (nvm, node 0.10.24), yo 1.0.7-pre2 #125

Closed
ninor opened this issue Dec 29, 2013 · 4 comments

Comments

Projects
None yet
3 participants
@ninor
Copy link

commented Dec 29, 2013

Hello,

Installed nvm, node 0.10.24 from nvm, installed yo with -g (no errors)

Executed yo, asked to install angular generator via its CLI questions.
Run yo angular, and yo says that there aren't any generators installed.
Try to install it manually with npm install -g generator-angular (free of any errors), run yo angular again, and it says the same: no generators available.

Now using yo 1.0.6

@SBoudrias

This comment has been minimized.

Copy link
Member

commented Dec 29, 2013

What is your NODE_PATH value?

@febeling

This comment has been minimized.

Copy link

commented Dec 29, 2013

See yeoman/yeoman#1252 (comment) for one thing that can cause this problem.

@ninor

This comment has been minimized.

Copy link
Author

commented Dec 29, 2013

This is the NODE_PATH right now, after reinstalling NodeJS via nvm:
/usr/lib/nodejs:/usr/share/javascript

@febeling yes, it seems it's the same problem

I had installed node via apt-get (lubuntu), so that could be a problem too.

@SBoudrias

This comment has been minimized.

Copy link
Member

commented Dec 30, 2013

@ninor It is important the NODE_PATH contains the npm -g root path.

If you upgrade to the latest Yo pre release, you can run yo doctor to output debugging information.

@SBoudrias SBoudrias closed this Dec 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.