Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku login and logout does not work?

Tags:

heroku

helpers

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>'
like image 320
Romantiku AL Avatar asked Jul 26 '12 18:07

Romantiku AL


People also ask

Why heroku login is not working?

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].

Why heroku CLI is not working?

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 .

How do I log into heroku without a browser?

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.


2 Answers

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: ******
like image 194
Igbanam Avatar answered Oct 12 '22 05:10

Igbanam


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.

like image 22
Murthii Ch Avatar answered Oct 12 '22 05:10

Murthii Ch