What to do if you get an error when you hit Heroku logs

Error occurrence status

After deploying, hitting Heroku logs in the console caused an error

error contents

console

Error: Missing required flag

solution

Since the repository is not linked to Heroku's server, an error is displayed, so link it. Do the following in the console

heroku login
git remote -v
heroku git:remote -a <HerokuAppName>
git remote -v

Recommended Posts

What to do if you get an error when you hit Heroku logs
What to do if you get an error during rails db: reset
What to do if you get an uninitialized constant Likes Controller error
What to do if you get the error Couldn't find Item without an ID
What to do if you get a port error when docker-compose up on Mac
What to do if you get a gcc error in Docker
What to do if you get a DISPLAY error in gym.render ()
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do if you get a "Cannot Pull Container Error" when starting ECS ​​Fargate
[Rails] What to do if you can't get an error message with the errors method
What to do if you get an error in Basic authentication during Rails test code
What to do if an error occurs when nokogiri enters when bundle install
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
What to do if you get a JNI shared library error when trying to build in Eclipse
What to do if you get an [An HTTP request took too long to complete.] Error in Docker.
What to do if you get the error message unrecognized selector send to instance "***"
What to do if you get a java.io.IOException in GlassFish
What to do when you launch an application with rails
What to do if you get a wrong number of arguments error in binding.pry
What to do if you can't get the text of an element in Selenium
What to do if you get a NoClassDefFoundError when trying to run eclipse on Java9
What to do if you install Ubuntu
What to do if you get angry with OpenSSL with pyenv install
[Rails] What to do if you can't get parameters with form_with
What to do if you get a "302" error in your controller unit test code in Rails
[Java] What to do if you get an error in Eclipse saying "Not allowed at source level below 1.X"
What to do if you get an Argument Error: wrong number of arguments (given 2, expected 0) in your RSpec test
[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina
What to do if you get a groovy warning in Thymeleaf Layout
What to do if you go offline due to SSL certificate error when running Jenkins on Mac
[Android Studio] What to try when you get into error spitting hell
What to do if you get a "Mysql2 :: Error: Operand should contain 1 column (s)" error in Rails
What to do and how to install when an error occurs in DXRuby 1.4.7
When deploying to Heroku, OpenApp causes an error
What to do if you push incorrect information
no space left on device What to do if an error occurs
What do you use when converting to String?
What to do if you get "Changes not staged for commit:" when you git status after git add.
<Dot installation> What to do if you cannot proceed due to an error when building a development environment for Rails learning.
What to do if you get a MiniMagick vulnerability alert on GitHub
What to do if an error occurs when doing npm install axios in React + Typescript project
What to do if you should have installed Rails but an error occurs with rails -v (for beginners)
What to do if you get the error Too long with no output (exceeded 10m0s) on CircleCI
What to do if you get Could not locate Gemfile or .bundle / directory
wildflly10 java8 ERROR [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl] (Periodic Recovery) IJ000906 What to do if an error occurs
What to do if you get angry if you don't have nokogiri while installing wp2txt
What to do if you get To install the missing version, run `gem install bundler: 2.1.4`
What to do if ffi installation fails when launching an application in Rails
What to do if ClassNotFoundException occurs when starting Tomcat
What to do if you accidentally create a model
What to do when a null byte error occurs
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
What to do if you get ActiveRecord :: StatementInvalid: Mysql2 :: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near when you try to reset Heroku
After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error
What to do if you get an error saying Cannot find a valid baseurl for repo when you use yum -y install docker in a udemy course using CentOS7
What to do if you can't find your API key after deploying to Rails heroku
# What to do if you accidentally do rails db: migrate: drop
What to do if mysql2 gets a bundle install error
What to do if you can't use the rails command
What to do if you hit the wall of Too many symbol files when uploading with App Store Connect
[Rails] What to do when you want to generate an error that cannot be destory when foreign key restrictions are applied