Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku login success, but then freezes

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?

like image 635
Tms91 Avatar asked May 02 '19 15:05

Tms91


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

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.

How do I log into Heroku with Git bash?

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.

How do I update my heroku to latest version?

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 .


1 Answers

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

like image 128
Tms91 Avatar answered Sep 21 '22 07:09

Tms91



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!