Reputation: 1383
Getting Could not find application error as follows:
$ jhipster heroku
INFO! Using JHipster version installed globally
INFO! Executing jhipster:heroku
Heroku configuration is starting
✖ Could not find application: geonamesservice
✖ Run the generator again to create a new application.
identical pom.xml
force .yo-rc.json
INFO! Congratulations, JHipster execution is complete!
Does anyone know why I am getting the "Could not find application" error?
Upvotes: 0
Views: 381
Reputation: 6352
The issue is that your app was not found from the heroku command heroku apps:info --json
, which runs here.
The fix is to remove the herokuAppName
key in .yo-rc.json
and re-run jhipster heroku
.
There is a bug in the generator code where the config is not cleared automatically, requiring you to manually edit .yo-rc.json
. This is fixed in pull request 13039 which will be part of v7 of JHipster.
Upvotes: 3