Question

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>'

No correct solution

OTHER TIPS

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: new@email.account
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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top