[RUBY] Error when trying to use heroku command

Error occurrence status

After deploying, when I opened the app, an error occurred, so when I typed the command to see the heroku log, the following error occurred

error contents

$ heroku logs
 ›   Warning: heroku update available from 7.45.0 to 7.47.4.
 ›   Error: Missing required flag:
 ›     -a, --app APP  app to run command against
 ›   See more help with —help

solution

Of the error statement

Warning: heroku update available from 7.45.0 to 7.47.4.
 ›   Error: Missing required flag:

Search with and from the following reference articles https://reasonable-code.com/heroku-update/

 Warning: heroku update available from X.X.X to Y.Y.Y 

When an error occurs

Heroku update

Can be solved by hitting

However, the above may not solve the problem.

$ heroku update
 ›   Warning: update with: "npm update -g heroku"
heroku: Updating CLI... not updatable
Updating completions… done

If this happens, you can fix it by running npm update -g heroku

 $ npm update -g heroku
/usr/local/opt/nvm/versions/node/v14.3.0/bin/heroku -> /usr/local/opt/nvm/versions/node/v14.3.0/lib/node_modules/heroku/bin/run
+ [email protected]
added 3 packages from 2 contributors, removed 13 packages and updated 60 packages in 32.884s
$ heroku version
heroku/7.47.4 darwin-x64 node-v14.3.0

Now you can use the heroku command

Recommended Posts

Error when trying to use heroku command
When deploying to Heroku, OpenApp causes an error
Rbenv command to use Ruby
Summary when trying to use Solr in Java and getting an error (Solr 6.x)
I got an IllegalAccessError when trying to use PowerMock with JUnit
Try to use docker command without sudo.
What to do if you get an error when you hit Heroku logs
Resolved the error that occurred when trying to use Spark in an environment where Java 8 and Java 11 coexist.
Error response from daemon: conflict: Conflict when trying to create Docker container, so solution
Error when running git push heroku master on Heroku
I get an error when I try to use "^" or "$" in ruby ​​regular expression
Solution that gives an error when trying to connect to DB (MySQL) in Java
Heroku command summary
A note when the heroku command becomes unavailable
Unable to connect to chromedriver error when running SystemSpec
When you want to use the method outside
[Error resolution] Occurs when trying to build an environment for spring with docker
[Heroku] How to solve when an error is displayed on git push heroku master
Error deploying rails5 + Mysql to heroku with Docker-compose
407 error when trying to access an HTTPS site in Java via an authenticated proxy
What do you use when converting to String?
When importing CSV with Rails, it was really easy to use the nkf command
I got an error when trying to install sbt to build a Scala development environment
A warning is displayed when trying to use a huge integer with the special variables $ 1, $ 2, $ 3 ...
A memorandum when trying to create a GUI using JavaFX
What to do when a null byte error occurs
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
A memo to check when you try to use Lombok
Heroku CLI operation (command)
How to use rbenv
How to use letter_opener_web
How to use with_option
How to use java.util.logging
How to use map
Error when using SnapKit
PATH to use docker-slim
A note that I had trouble when trying to use nginx with Remote-Containers of vscode
How to use Twitter4J
How to use active_hash! !!
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
Solution for the error "no basic auth credentials" when pushing a Docker container to Heroku
rails heroku error log
When trying to insert a specific gem (levenshtein) with Docker, an error occurred without ruby-dev
[How to use label]
Error when bundle install
How to use identity
Introduction to javadoc command
How to use hashes
Introduction to jar command
docker error delete command
How to use JUnit 5
Error when deploying EC2
Use Corretto 11 on Heroku
Introduction to java command
How to use Dozer.mapper
How to use Gradle
Can't upload to heroku
How to use org.immutables
How to use java.util.stream.Collector