Closed Daszczu closed 8 months ago
Can you please try the Migrate blueprint to see if it works for you? Use Node 16.
I have got same error then used "jhipster-migrate" and had issue with ".yo-rc.json" I just accepted what ever the migrator wants, then got error at npm install needed to do some uninstall and install
oz-mint@ozmint-MACH-WX9:~/projects/hamta$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: hamta@0.0.1-SNAPSHOT
npm ERR! Found: @testing-library/react@12.1.2
npm ERR! node_modules/@testing-library/react
npm ERR! dev @testing-library/react@"14.2.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev @testing-library/react@"14.2.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@18.2.0
npm ERR! node_modules/react
npm ERR! peer react@"^18.0.0" from @testing-library/react@14.2.2
npm ERR! node_modules/@testing-library/react
npm ERR! dev @testing-library/react@"14.2.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/oz-mint/.npm/_logs/2024-04-06T23_01_05_754Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/oz-mint/.npm/_logs/2024-04-06T23_01_05_754Z-debug-0.log
oz-mint@ozmint-MACH-WX9:~/projects/hamta$ npm uninstall @testing-library/react
npm install @testing-library/react@latest
after that I needed to upgrade my code from javax.persistence to jakarta persistence , now the size of the change is huge and admin panel and menu looks like working. this was a very very smooth upgrade. keep up the good work :beers:
Overview of the issue
The website lists bunch of params we could pass https://www.jhipster.tech/upgrading-an-application/
However when I try to use it, for example to specify a version I get an error:
so I wanted to run help to see the supported commands
And it's completely different
Why is that?
Motivation for or Use Case
I wanna upgrade my jhipster application to specific version
Reproduce the error
Run the command and it fails
Related issues
Suggest a Fix
JHipster Version(s)
JHipster configuration
npx jhipster info
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ ╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗ ╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝ https://www.jhipster.tech Welcome to JHipster v8.1.0
Welcome to the JHipster Information Sub-Generator
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file