My account on heroku is suspended, and I am trying delete it on "cmd or git bash"; however, in my program, I cannot logout from that account.
This is the error I receive:
$ heroku logout
C:/Users/Romantiku/.heroku/client/lib/heroku/cli.rb:30:in `rescue in start': und
efined method `styled_error' for Heroku::CLI:Class (NoMethodError)
from C:/Users/Romantiku/.heroku/client/lib/heroku/cli.rb:16:in `start'
from c:/Program Files (x86)/Heroku/bin/heroku:25:in `<main>'
Double check that there are no typos in your password as well. Reset your password and try logging in with the new password. Try using a different email address. Try using an email alias with a plus sign if you might have signed up using an alias such as [email protected] instead of just [email protected].
If you're having issues with the CLI, ensure that you're using the latest version. If you're not, try updating with heroku update . Not all methods of installation support heroku update . If you installed the CLI with apt , you must use sudo apt-get update && sudo apt-get upgrade heroku .
You can use the flag -i with the CLI login command which will prompt you to enter your credentials on the CLI itself without using a browser.
I just logged in again as another account.
This handled logging out as I did not see a clear cut way from the command line on how to logout
heroku login
Email: [email protected]
Password: ******
Hit the command "Heroku Logout" from you cli terminal.
If the error persists clear your browser cache. So that you can login again. Happy coding.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With