无法使用CLI登录heroku

Ser*_*ous 6 git heroku heroku-cli

我尝试在Windows上登录heroku.使用cmd.exe

C:\Users\Komp_1\OneDrive\PHP_projects\chatbot>heroku auth:login
Enter your Heroku credentials:
Email: sergiuszxxxi@gmail.com
Password: **********
Enter your Heroku credentials:
Email: sergiuszxxxi@gmail.com
Password: **********
Enter your Heroku credentials:
Email:
Run Code Online (Sandbox Code Playgroud)

它看起来像一个永无止境的循环.但是当我尝试使用git-bash登录时:

$ heroku login
Enter your Heroku credentials:
Email: Sergiusxxxi@gmail.com
 !    Login is currently incompatible with git bash/Cygwin/MinGW
Run Code Online (Sandbox Code Playgroud)

有什么不对?我找不到解决方案.

Vis*_*hal 11

从Git Bash尝试使用winpty heroku登录,它将工作


Ser*_*ous 2

好吧,这可能是 Heroku 的问题。修复此问题的简单步骤: 1. 转到heroku 2. 注销 3. 重置密码 4. 转到您的电子邮件并设置新密码 5. 登录到您的heroku :-)

附言。我的密码是正确的,我在 cmd 和 heroku 上使用了相同的密码。在 Heroku 上有效,但在 cmd 中无效:-)