[英]heroku login command doesn't exist
I was trying to create an app with Heroku.我试图用 Heroku 创建一个应用程序。 Following the docs , I ran
heroku login
, and heroku returned the following error:按照文档,我运行了
heroku login
,并且 heroku 返回了以下错误:
! Invalid credentials provided.
» Warning: login is not a heroku command.
Did you mean join? [y/n]:
» Error: Run heroku help for a list of available commands.
! Command failed: heroku login
My Heroku Version is heroku-cli/7.0.9 win32-x64 node-v14.11.0
.我的 Heroku 版本是
heroku-cli/7.0.9 win32-x64 node-v14.11.0
。 Any idea why this is happening, and how I can fix it?知道为什么会这样,我该如何解决?
My solution was to instead install it from npm
, and then run heroku login
which works.我的解决方案是改为从
npm
安装它,然后运行heroku login
,它可以工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.