Reputation: 5132
I have gone through the steps as listed on http://jhipster.github.io/installation/ without any errors.
Then, I try the simple steps to get started that are on the jhipster home page, being:
Install JHipster npm install -g generator-jhipster
Create a new directory and go into it mkdir myApp && cd myApp Run
JHipster and follow instructions on screen yo jhipster
However, when I run the last instruction, I get the following error:
yo jhipster
Error jhipster
You don't seem to have a generator with the name jhipster installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 0 registered generators run yo with the `--help` option.
How can I fix this?
Thanks
Upvotes: 3
Views: 2968
Reputation: 51
If you are using ubuntu, surely you have installed jhipster using sudo privileges...
So you have to do sudo chown -R yourUser:yourGroup /usr/lib/node_modules && npm install -g generator-jhipster
as normal user...
After that, you can generate your project
Upvotes: 5