-
-
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
yo jhipster:upgrade failed from 4.2 to 4.3 #5649
Comments
You had an error while running Yarn, didn't you have any error message? Anything can happen here: it depends on your configuration, but also it can fail because of an Internet error, etc... |
@glxiong I also encountered this error when I upgrade to 4.3.0. Just ignore in and fix any merge conflicts and run the yarn command. |
I confirm the issue |
This seems to come from |
Hi! |
There are instructions to do it manually, you should follow them.
I'm sorry I didn't have the time to inspect this, and we need as much
information and help as possible here.
For example, you could give your version number, logs, etc... Just saying
that it doesn't work isn't making things go forward.
|
Thanks a lot for your feedback ! |
Closed by #5883 |
Here is the output:
Welcome to the JHipster Upgrade Sub-Generator
This will upgrade your current application codebase to the latest JHipster version
Looking for latest generator-jhipster version...
New generator-jhipster version found: 4.3.0
Git repository detected
Created branch jhipster_upgrade
Cleaned up directory
Installing JHipster 4.2.0 locally
Installed [email protected]
Regenerating app with jhipster 4.2.0...
Successfully regenerated app with jhipster 4.2.0
Committed with message "Generated with JHipster 4.2.0"
Checked out branch "master"
Current code recorded as generated with version 4.2.0
Updating generator-jhipster to 4.3.0 . This might take some time...
Updated generator-jhipster to version 4.3.0
Checked out branch "jhipster_upgrade"
Cleaned up directory
Regenerating app with jhipster 4.3.0...
Successfully regenerated app with jhipster 4.3.0
Committed with message "Generated with JHipster 4.3.0"
Checked out branch "master"
Merging changes back to master...
Merge done!
Installing dependencies, please wait...
Error jhipster:upgrade
ERROR! yarnfailed.
The yo jhipster:info gives the following output:
Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folderEntity configuration(s)
entityName.json
files generated in the.jhipster
directoryls: no such file or directory: .jhipster/*.json
Browsers and Operating System
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
git version 2.11.0 (Apple Git-81)
node: v7.9.0
npm: 4.2.0
bower: 1.8.0
gulp:
[13:30:37] CLI version 1.2.2
yeoman: 1.8.5
yarn: 0.23.2
The text was updated successfully, but these errors were encountered: