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

JDL entities import error #21387

Closed
MUzayr opened this issue Mar 12, 2023 · 1 comment
Closed

JDL entities import error #21387

MUzayr opened this issue Mar 12, 2023 · 1 comment

Comments

@MUzayr
Copy link

MUzayr commented Mar 12, 2023

D:\bmapp>jhipster jdl bmjdl.jdl
INFO! Switching to JHipster installed locally in current project's node repository (node_modules)
INFO! Using bundled JHipster
node:internal/modules/cjs/loader:544
throw e;
^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/util/namespace' is not defined by "exports" in C:\Program Files\nodejs\node_modules\generator-jhipster\node_modules\yeoman-environment\package.json
at new NodeError (node:internal/errors:400:5)
at exportsNotFound (node:internal/modules/esm/resolve:361:10)
at packageExportsResolve (node:internal/modules/esm/resolve:697:9)
at resolveExports (node:internal/modules/cjs/loader:538:36)
at Module._findPath (node:internal/modules/cjs/loader:607:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1025:27)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (C:\Program Files\nodejs\node_modules\generator-jhipster\utils\blueprint.js:19:25) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v18.13.0

@gmarziou
Copy link
Contributor

JHipster does not work with node 18.15.0 and few other versions (see #21380), please downgrade to 18.13.0

@MUzayr MUzayr changed the title JDL import error JDL entities import error Mar 13, 2023
@DanielFran DanielFran added this to the 8.0.0-beta.1 milestone Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants