Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release new version with Node 18 support #933

Closed
dvero23 opened this issue Sep 14, 2023 · 4 comments
Closed

Release new version with Node 18 support #933

dvero23 opened this issue Sep 14, 2023 · 4 comments

Comments

@dvero23
Copy link

dvero23 commented Sep 14, 2023

I'm having this issue when generating the project with the latest LTS Node version (v18.17.1).

> jhipster-ionic
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/util/namespace' is not defined by "exports" in C:\Users\david\AppData\Roaming\nvm\v18.17.1\node_modules\generator-jhipster-ionic\node_modules\yeoman-environment\package.json
    at new NodeError (node:internal/errors:405:5)
    at exportsNotFound (node:internal/modules/esm/resolve:359:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:695:9)
    at resolveExports (node:internal/modules/cjs/loader:567:36)
    at Module._findPath (node:internal/modules/cjs/loader:636:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (C:\Users\david\AppData\Roaming\nvm\v18.17.1\node_modules\generator-jhipster-ionic\node_modules\generator-jhipster\utils\blueprint.js:19:25) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v18.17.1

This is caused by generator-jhipster v7.9.3, since Node 18 is supported from v7.9.4
On the main branch has been bumped very recently.
image

Is it possible to release a new version?

@mraible
Copy link
Collaborator

mraible commented Sep 14, 2023

You can follow this issue for Node 18 support: #926

FWIW, I don't think we should release a new version of this blueprint until JHipster 8 is released.

@AzaTek61
Copy link

AzaTek61 commented Jan 9, 2024

I have the same Problem with Jhipster 8 and i can not downgrade Node.

Versions:
"generator-jhipster": "^8.1.0"
"generator-jhipster-ionic": "^8.1.0"
node: v18.19.0

@diegohsi
Copy link

diegohsi commented Mar 4, 2024

I created an ISSUE for this too, but it seems to be the same problem I'm having.

@mraible
Copy link
Collaborator

mraible commented Jun 3, 2024

Should be fixed on the main branch and in the v8.2.0 release.

@mraible mraible closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants