-
-
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
JHipster Upgrade not working #6023
Comments
This ticket has been closed as the guidelines are not followed. Tickets must follow our Guidelines, as mentioned in: We have also created a template on the "create a new ticket" page to help you follow those guidelines. |
Updated as per the format |
It does say:
So I guess you need to install that module before. Please note that modules are third-party applications, so we do not support them. |
I tried installing the reindexer app but get the following ? 'Allo Abhinav! What would you like to do? Install a generator
ParseError |
You probably have an error in Yeoman or in that module, can you check on their bug tracker? We can't support other tools, this bug tracker is just for JHipster. |
I was able to progress but now am stuck with this I am trying the suggestion by tan9 to remove jhipster generator from yarn global but am unable to execute using alias but am unable to run jhipster upgrade. I get command not found which basically means am unable to set the path. I am struggling for the past2 hours to understand where jhipster lives in node now that i removed it from yarn global. Please help !! |
i don't mean t spam you.... but below is what the happening error trace... Abhinavs-MacBook-Pro:gradzcircle_java_app Buni$ jhipster upgrade Error: ERROR! yarn failed. |
Seems like its failing on |
I tried installing yarn manually works but the automated upgrade process still fails. I eventually went the manual route. Thanks for the help. |
Have the same result. |
Did you have conflict on package.json file? |
No. If I install clean project and run forced upgrade, I will get this error too. |
Could you run |
jhipster info
run in your project root folder.Overview of the issue
I am trying to upgrade jhipster version to 4.4.1. I checked out code that is already on 4.4.1 and ran upgrade command on my machine that is on 4.0.4 to upgrade it to 4.4.1.
However it is failing with the following error.
I used the command as described on the page "jhipster upgrade --target-version=4.4.1".
However it fails after generating the branch and code giving the following error.
To install your dependencies manually, run: yarn install
Running post run module hooks
Server application generated successfully.
Run your Spring Boot application:
./gradlew
Client application generated successfully.
Start your Webpack development server with:
yarn start
Running post run module hooks
Error jhipster --with-entities --force --skip-install
You don’t seem to have a generator with the name “jhipster-elasticsearch-reindexer:app” installed.
But help is on the way:
You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/.
Install them with npm install generator-jhipster-elasticsearch-reindexer:app.
To see all your installed generators run yo without any arguments. Adding the --help option will also show subgenerators.
If yo cannot find the generator, run yo doctor to troubleshoot your system.
at Environment.error (/Users/Buni/.config/yarn/global/node_modules/yeoman-environment/lib/environment.js:89:38)
at constructor.error (/Users/Buni/.config/yarn/global/node_modules/generator-jhipster/generators/generator-base.js:1596:18)
at shelljs.exec (/Users/Buni/.config/yarn/global/node_modules/generator-jhipster/generators/upgrade/index.js:84:23)
at /Users/Buni/.config/yarn/global/node_modules/shelljs/src/exec.js:204:9
at ChildProcess.exithandler (child_process.js:218:5)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:885:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Motivation for or Use Case
I was able to upgrade earlier but now get the error above. I did nom install for the elastic search reindeer but that did not help.
Reproduce the error
Please run the following command
jhipster upgrade --target-version=4.4.1
Related issues
Suggest a Fix
JHipster Version(s)
i am on 4.0.4 trying to upgrade to 4.4.1
JHipster configuration
.yo-rc file
{
"generator-jhipster": {
"promptValues": {
"packageName": "com.drishika.gradzcircle",
"nativeLanguage": "en"
},
"jhipsterVersion": "4.4.1",
"baseName": "gradzcircle",
"packageName": "com.drishika.gradzcircle",
"packageFolder": "com/drishika/gradzcircle",
"serverPort": "8080",
"authenticationType": "jwt",
"hibernateCache": "ehcache",
"clusteredHttpSession": false,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "postgresql",
"prodDatabaseType": "postgresql",
"searchEngine": "elasticsearch",
"messageBroker": false,
"serviceDiscoveryType": "eureka",
"buildTool": "gradle",
"enableSocialSignIn": true,
"jwtSecretKey": "5482eb4f18bb056e37ed636bcf6cd42cf7b31266",
"clientFramework": "angular2",
"useSass": false,
"clientPackageManager": "yarn",
"applicationType": "monolith",
"testFrameworks": [
"gatling",
"cucumber",
"protractor"
],
"jhiPrefix": "jhi",
"enableTranslation": true,
"nativeLanguage": "en",
"languages": [
"en",
"hi"
]
}
}
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
I am on MacOs Sierra
The text was updated successfully, but these errors were encountered: