-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Issue upgrading an application from jhipster 7.9.3 to 8.1.0 #24601
Comments
I have the exact same issue! |
Can you please try the JHipster Migrate Blueprint and see if it solves your problem? It worked for me! |
@mraible Didn't work using jhipster-migrate, I installed as indicated and executed
Not sure if I should move this error to the repo from JHipster Migrate Blueprint or leave it here. I tried using I also tried creating a new branch and executing:
|
Can you please try it with Node 16 since that is what JHipster 7 requires? |
You can try:
|
Hello, A merge between the two suggestions worked. I had to use JHipster Migrate Blueprint, @mraible is this the new standard way to do the update? I was not aware of it. I also used Node 16 instead of Node 18 and updated on the One extra thing I had to do was fixing a mapping on an entity, someone left a relation repeated and that was failing too. Thanks for your help guys! |
Overview of the issue
Problem upgrading a jhipster project. I tried removing node_modules and package-lock.json and running npm install. It didn't solve the issue. The project is currently on jhipster version 7.9.3. When running the
npx jhipster upgrade
sub-generator I get the following error, apparently with node (MODULE_NOT_FOUND):Motivation for or Use Case
Reproduce the error
nvm use 16
to switch back to Node 16, which is compatible with the project's current jhipster version 7.9.3npx jhipster upgrade
Related issues
#22617
Suggest a Fix
JHipster Version(s)
7.9.3
JHipster configuration
jhipster info
[email protected] /Users/myuser/code/myproject-backend-main-2
└── [email protected]
yo-rc.json
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
MacOS Sonoma 14.1.2 (23B92)
The text was updated successfully, but these errors were encountered: