Reputation: 1400
Im trying to install jhipster my very first time and having already problems with the setup :o I was following the steps on the "Installing JHipster" page for "Local installation with Yarn" (using Angular) which was working fine but now continuing with "Creating an application" gives me an error when trying to execute jhipster:
To generate your application, type:
jhipster
It seems there is just no jhipster binary in my environment even with following the setup steps described in the docs before:
test@test ~/git/test $ yarn global add generator-jhipster
yarn global v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- jhipster
Done in 1.53s.
test@test ~/git/test $ jhipster
bash: jhipster: command not found
Was using this page for installing the requirements and this page for creating the app (having gentoo linux installed). As i was never using yarn or yeoman before im not sure if im missing something here like using a prefix or another program executing "jhipster".
Upvotes: 4
Views: 2181
Reputation: 93
If you have problems using Yarn globally, be sure to have $HOME/.config/yarn/global/node_modules/.bin in your path.
Upvotes: 1
Reputation: 1400
Problem was i didn't have the yarn bin path added to my users PATH. See the comments for more informations.
Upvotes: 2