Closed vdespa closed 9 months ago
Yes, we should fix this. I'll add a bug bounty.
@DanielFran assigned to you. 😄
WARNING! Your Node version is not LTS (Long Term Support), use it at your own risk! JHipster does not support non-LTS releases, so if you encounter a bug, please use a LTS version first.
The error message seems the node is 18 prior to LTS version.
The warning didn't show at MacOS M1 + node 18.12.1
The logic looks ok: https://github.com/jhipster/generator-jhipster/blob/bb188e00ca686d506658737ed7f91c478a7afcce/generators/base/generator-base-private.mjs#L511-L515
Just need a new release.
Are we sure JHipster v7 works with Node 18? This issue suggests it does not.
with 18, I don't get the same error when I run it.
work with 16.
windows 10 with wsl2
Following https://github.com/jhipster/generator-jhipster/pull/20394:
Generation works and as long as ./npmw
is used instead of the system node/npm, the application will work fine.
with 18, I don't get the same error when I run it.
That is issue #19627
With the node V18.15.2 I don't get the same error when I run it. OS: macOS
With node v18.16.0 same error OS: Linux Mint
Are you working on this @DanielFran ?
Seems like just a release was needed and this is not an issue anymore. maybe this can be closed.
closing as release v7.9.4 is being done
Blueprints still doesn't work with nodejs v18 due to incorrect module exports on the JHipster side. Refer https://github.com/jhipster/generator-jhipster-svelte/issues/1841
@deepu105 , can we reopen?
JHipster has completed the sample check
.yo-rc.json
:
Entities JDL:
Application: successfully generated
Frontend check: skipped
Backend check: skipped
E2E check: skipped
Changing the package.json exports for generator-jhipster will almost for sure be a breaking change. We support node 18 in v8. Closing.
Overview of the issue
JHipster issues the following warning when used with Node.js 18: "WARNING! Your Node version is not LTS (Long Term Support), use it at your own risk! JHipster does not support non-LTS releases, so if you encounter a bug, please use a LTS version first."
Motivation for or Use Case
Reproduce the error
Run
jhipster
Related issues
Suggest a Fix
JHipster Version(s)
JHipster v7.9.3
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
macOS