Closed danielpetisme closed 3 years ago
I confirm the bug, reproduced here.
@mshima @mraible did you tried the last version of the main branch? Does it work for you?
Have you tried npm install -g generator-jhipster@7.1.0
?
jhipster --version
?
We probably should update the error message showing current jhipster version too.
@mshima It's really strange because now I had run npm install -g generator-jhipster@7.1.0
it works. Previously I ran npm install -g generator-jhipster
(7.1.0 is the last one).
If you have generator-jhipster@6 installed, npm install -g generator-jhipster
will not update it.
You need to execute npm install -g generator-jhipster@latest
.
but I ran jhipster --version
with a successful 7.1.0 version printed.
That's a problem of the local/global workaround:
npm install -g generator-jhipster@6
jhipster --version
INFO! Using JHipster version installed locally in current project's node_modules
7.1.0
I really I hate this behavior when is easy to use jhipster
for global and npx jhipster
for local. Which is the node standard.
I will propose to drop this local/global hack for jhipster 8.
hmmm, yep strange because I'm sure I did not have a local installed version.
I close this one, since we have a solution
Describe the bug When using the Jhipster Quarkus generator from the main branch, the generator fails due to the sanity checks.
To Reproduce Steps to reproduce the behavior:
generator-jhipster-quarkus@2.0.0-beta.1 /Users/dpetisme/workspace/jhipster/generator-jhipster-quarkus └── generator-jhipster@7.1.0
Expected behavior The generation should work.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context Add any other context about the problem here.