generator-jhipster: Updating global JHipster doesn't work (on Windows)

Overview of the issue

Updating JHipster does not work.

Motivation for or Use Case

I want to use the most up-to-date version.

Reproduce the error

Run yo jhipster. A new version is available. Run npm install -g generator-jhipster. Open a new terminal. Run yo jhipster. The version is not updated. A video showing the steps can be seen here: https://www.youtube.com/watch?v=8OV3Mf2gCW4 (Note: This does not showcase the bug, only the update steps).

Related issues

No.

Suggest a Fix

Make the update work as expected so running an update with v4.14.2 installs v4.14.3 and uses it from that moment.

JHipster Version(s)

v4.14.2

JHipster configuration

None.

Entity configuration(s) entityName.json files generated in the .jhipster directory

None.

Browsers and Operating System

Windows 10 64bit.

  • Checking this box is mandatory (this is just to show you read everything)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (12 by maintainers)

Most upvoted comments

Yeah, @gmarziou your last message solved it. Thank you.