Open elijulian opened 3 months ago
Totally same error:
➜ hellokhipster khipster node:internal/modules/cjs/loader:598 throw e; ^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './cli/utils' is not defined by "exports" in /Users/fanghao/.nvm/versions/node/v20.11.0/lib/node_modules/generator-jhipster-kotlin/node_modules/generator-jhipster/package.json
at exportsNotFound (node:internal/modules/esm/resolve:303:10)
at packageExportsResolve (node:internal/modules/esm/resolve:650:9)
at resolveExports (node:internal/modules/cjs/loader:591:36)
at Module._findPath (node:internal/modules/cjs/loader:668:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.
Node.js v20.11.0
I believe you have to use Node 16 to workaround this issue.
same error changing to node 16 works
Overview of the issue
i ran
npm install -g generator-jhipster-kotlin
and thenkhipster
and am getting the following output:worthy to note that this is on a mac M1
Reproduce the error
Related issues
Link to PR (if any)
KHipster Version(s)