You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was upgrading a tiny application, and I have only added a few entities. My application was over the 8.1.0 generator. I was having a problem upgrading it with: jhipster upgrade, but after a few days, I luckily could upgrade to 8.7.0 using the same command, for my case worked removing the jhipster_upgrade branch (maybe at some point a corrupted it), well I started to update over each version, I mean, from 8.1.0 to 8.2.1, then the next one, and so until reaching the 8.7.1 when I got the error.
My steps for each step were the same:
check if support for some node versions exists for the new release. If that is the case set this version.
remove the jhipster_upgrade branch if exists (idk if that should be necessary but it worked for me until 8.7.1 as I already mentioned).
install the target generator version globally.
execute the upgrade command
Motivation for or Use Case
I think that without a change in my code, if I can upgrade from 8.1.0 to 8.7.0, the same should work for the next 8.7.1?
Reproduce the error
This is the error log:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/build-angular
npm error dev @angular-devkit/build-angular@"18.2.1" from the root project
npm error @angular-devkit/build-angular@"^18.0.0" from @angular-builders/[email protected]
npm error node_modules/@angular-builders/custom-webpack
npm error dev @angular-builders/custom-webpack@"18.0.0" from the root project
npm error 3 more (@angular-builders/jest, jest-preset-angular, jest-preset-angular)
npm error
npm error Could not resolve dependency:
npm error dev @angular-devkit/build-angular@"18.2.1" from the root project
npm error
npm error Conflicting peer dependency: @angular/[email protected]
npm error node_modules/@angular/compiler
npm error peer @angular/compiler@"18.2.1" from @angular/[email protected]
npm error node_modules/@angular/localize
npm error @angular/localize@"18.2.1" from the root project
npm error peerOptional @angular/localize@"^18.0.0" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/build-angular
npm error dev @angular-devkit/build-angular@"18.2.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
8.7.1 (target) but 8.7.0 (before to start the upgrade command)
JHipster configuration
To provide all information we need, you should run jhipster info in the project root folder (or workspaces root for microservices), and
copy/paste the result here. jhipster info removes sentitive information like rememberKey, jwtSecretKey. Double check if there is any other sensitive info.
As alternative you can add a JDL wrapped in below structure
The information is mandatory for bug reports. This will allow us to use automated tests and genarate the broken sample using jhipster from-issue command.
Browsers and Operating System
Checking this box is mandatory (this is just to show you read everything)
The text was updated successfully, but these errors were encountered:
Overview of the issue
I was upgrading a tiny application, and I have only added a few entities. My application was over the 8.1.0 generator. I was having a problem upgrading it with:
jhipster upgrade
, but after a few days, I luckily could upgrade to 8.7.0 using the same command, for my case worked removing thejhipster_upgrade
branch (maybe at some point a corrupted it), well I started to update over each version, I mean, from 8.1.0 to 8.2.1, then the next one, and so until reaching the 8.7.1 when I got the error.My steps for each step were the same:
Motivation for or Use Case
I think that without a change in my code, if I can upgrade from 8.1.0 to 8.7.0, the same should work for the next 8.7.1?
Reproduce the error
This is the error log:
[email protected] /mnt/hizmarck/hiz_data/workspace/java/test
└── (empty)
Related issues
Suggest a Fix
JHipster Version(s)
8.7.1 (target) but 8.7.0 (before to start the upgrade command)
JHipster configuration
To provide all information we need, you should run
jhipster info
in the project root folder (or workspaces root for microservices), andcopy/paste the result here.
jhipster info
removes sentitive information like rememberKey, jwtSecretKey. Double check if there is any other sensitive info.As alternative you can add a JDL wrapped in below structure
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Environment and Tools
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13-58)
OpenJDK 64-Bit Server VM (build 21.0.2+13-58, mixed mode, sharing)
git version 2.43.0
node: v20.17.0
npm: 10.8.2
Docker version 27.3.1, build ce12230
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
The information is mandatory for bug reports. This will allow us to use automated tests and genarate the broken sample using
jhipster from-issue
command.Browsers and Operating System
The text was updated successfully, but these errors were encountered: