-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
bug
'./cli/utils' is not defined by "exports"
#469
Comments
bug
'./cli/utils' is not defined by "exports"
The docker running approach also failed with the below one.
|
The workaround of this issue is to switch to the version specified in the docker file. In Windows 11, I used nvm to switch to 14. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
I encountered an issue when running
khipster
in my environment. The error message states that the package subpath./cli/utils
is not defined by "exports" in thepackage.json
file ofgenerator-jhipster-kotlin
.Environment Details
Steps to Reproduce
generator-jhipster-kotlin
usingnpm install -g generator-jhipster-kotlin
khipster
commandExpected Behavior
khipster
should run without encountering theERR_PACKAGE_PATH_NOT_EXPORTED
error.Additional Information
It seems that
./cli/utils
is missing from the"exports"
field inpackage.json
. This might be a compatibility issue with Node.js 22 or a misconfiguration in the package.Would appreciate any insights or fixes for this issue. Thank you!
Error Message
The text was updated successfully, but these errors were encountered: