I am using Git Bash on Windows.
I just verified my Heroku account, then I open git bash and type:
$ heroku login
bash responds:
heroku: Press any key to open up the browser to login or q to exit:
Opening browser to https://cli-auth.heroku.com/auth/browser/c31ddaf9-7a55-4daf-afad-a0500e924c26
heroku: Waiting for login...
Logging in... done
Logged in as [my mail address]
and then, I can type whatever I want, but it does not get and execute the command, behaving like a text editor. Then, when I click on the cross to close it, a warning message appears, telling that some processes are still going on.
How do I unlock the freezing and go on using Bash?
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].
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.
Install Heroku on Windows machine as per the site instructions. Then, with Git Bash closed, open the Windows "Command Prompt" and type "heroku login". You will be prompted for your Heroku username and password and you're in! Close the command prompt and use bash as per normal.
If you installed the CLI with apt , you must use sudo apt-get update && sudo apt-get upgrade heroku . If you installed the CLI with npm or yarn , you must use npm upgrade -g heroku or yarn global upgrade heroku .
I solved it by hitting CTRL+C to break out and chose yes (type y
).
It turns out that the git bash terminal has the frequent problem of turning "frozen" after you enter a command. Whenever it happens, you should press CTRL+C
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