MasterCode
MasterCode

Reputation: 995

Unable to update jhipster version

Currently I am using Jhipster 2.23.0 version but 2.23.1 is available so tried to update Jhipster using npm update -g generator-jhipster but still when i do yo jhipster it shows 2.23.0 version.

Upvotes: 2

Views: 4764

Answers (3)

duderoot
duderoot

Reputation: 987

I have also recently update my JHipster application. To be sure that your generator is updated check first if the version you want, got installed properly:

npm list generator-jhipster

After that yo jhipster will update your application. As a hint allways read the releas notes: http://jhipster.github.io/releases/

it can save you a lot of time.

cheers, duderoot

Upvotes: 4

David Whitehurst
David Whitehurst

Reputation: 352

I'm using the latest 2.26.2 now and with no issues. When yo changes, you will be notified to update. I just did:

npm install -g yo

and then ...

npm install -g generator-jhipster

JHipster is a Yeoman generator so I assume that yo needed update first. Has your issue been remedied?

Upvotes: 1

Rajender Saini
Rajender Saini

Reputation: 614

Try the following command

npm update -g [email protected]

Upvotes: 2

Related Questions