heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 382 forks source link

heroku client internal error #1986

Open srameez opened 8 years ago

srameez commented 8 years ago

screenshot from 2016-07-23 01-44-08 i am facing this error when i write this command $ heroku login

jdx commented 8 years ago

Try deleting ~/.heroku and ~/.local/share/heroku.

trimble commented 8 years ago

@srameez, I am currently able to run both heroku login and heroku status without the internal error that you reported.

$ heroku login
Enter your Heroku credentials.
Email:

$ heroku status
Apps:      No known issues at this time.
Data:      No known issues at this time.
Tools:     No known issues at this time.

Have you tried the suggestion @dickeyxxx made above? Are you now able to run the commands without error? Is this a stale issue that we can now close?

nabinno commented 7 years ago

@srameez I have the same issue with setting export PATH="/usr/local/heroku/bin:$PATH or export PATH="~/.local/share/heroku/cli/bin:$PATH, and then following solves it.

$ wget -qO- https://toolbelt.heroku.com/install.sh | sudo sh
$ /usr/local/heroku/bin/heroku
$ alias heroku="~/.local/share/heroku/cli/bin/heroku"

$ heroku version
heroku-cli/5.7.0-713be60 (linux-amd64) go1.7.5

$ /usr/local/heroku/bin/heroku version
heroku-toolbelt/3.43.9999 (x86_64-linux) ruby/2.4.0
heroku-cli/5.7.0-713be60 (linux-amd64) go1.7.5