*I am having a Heroku Application error. I can not find how can I solve it. or you can say to me how can i remove the whole Heroku application from my project to re-create Heroku app.
thank you.
Related
I am trying to deploy my Spring Boot Web application to HEROKU and I am getting the following error:
***> -----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app ! No default language could be detected for this app. HINT: This occurs
when Heroku cannot detect the buildpack to use for this application
automatically. See https://devcenter.heroku.com/articles/buildpacks
! Push failed***
I tried setting the build back to heroku/java manually only to also get an error.
The app is built in java so I don't understand what is happening exactly. This is my first time deploying an app online. Any help or guidance will be greatly appriciated
Beppe C. gave me the solution. My pom.xml file was not at the root. I restructured my repo and I got past that error but faced another one.
I've previously deployed apps on heroku written in Rails and in Express.js, and never come across the concept of a Procfile before. Now that I've just gone to deploy a Flask app, I discovered this Procfile concept and found that the app would not run correctly without it. The Heroku docs say nothing about this being Flask-specific, and imply it's needed for all apps.
What's up with that? Why didn't I need it before, but needed it now?
In the package.json it tells Heroku how to execute the program. That's JavaScript specific. In other languages there is no such file hence the need for a Procfile.
Heroku needs to know how to execute your project.
I am trying to get heroku setup locally on my new laptop to be able to access an existing heroku account that has two existing rails apps on it. I was able to install heroku cli locally and I was able to login to heroku. If I run "heroku apps" it lists my two apps. But two things I need help with:
1) I can't remember how to tell heroku which app the git repo in the current folder on my laptop should work with on heroku server. in other words, how do i "select" which app i want to current work with after logging into heroku.
2) when I tried running the "heroku config" command to list existing config vars after logging it it gave me some kind of error message. need some suggestions on what might be causing that too.
Sorry to not include screen shots of errors but on a different company right now. hopefully you can at least help me answer the first question.
Thanks,
Edward
ps. I found this Q&A, does the answer here apply to my question (1)?
How to link a folder with an existing Heroku app
The cause turned out to be that I needed to add the heroku app location as a remote repo using the heroku cli from within my local git repo I had created. I used the following command:
heroku git:remote -a thawing-inlet-61413
where "thawing-inlet-61413" is the name of the app. You can get this by running:
heroku apps
and it will list them.
reference: https://devcenter.heroku.com/articles/git#creating-a-heroku-remote
I wanted to deploy the rocket.chat project on heroku, following the deployment instruction, I have encountered the following error:
"
Can't open /tmp/build_29c97eef7e456d21231bc9eb4751ca67/ringelco-racket-chat-a864ad48b50652f34205d656e8e6d93976ce69e3/packages/rocketchat-livechat/plugin/build.sh
/app/tmp/cache/meteor/.meteor/packages/tap_i18n/.1.8.2.10lihy6.24zh++os+web.browser+web.cordova/plugin.tap-i18n-compiler.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
throw error;
"
I have noticed that some other issues are related to such error (this and this), but nobody has answered it yet!
It would be appreciative if you could help me.
Thanks in advance,
Issue fixed.
I just pulled the latest code from Rocket.Chat.
Followed the step to deploy it on Heroku Rocket.Chat Herokyu Deployment.
You have to use buildpack https://github.com/RocketChat/meteor-buildpack-horse.git.
I have pushed a project to Heroku but I cant figure out how can I see the pushed code there on Heroku? Is that possible?
I appreciate any help.
I guess you have to connect your app to github to achieve this.