Node.js上的Heroku登录问题



我在heroku上部署了我的应用程序,但现在我收到了以下错误:

heroku: Press any key to open up the browser to login or q to exit: 
heroku: Waiting for login... done
/home/ubuntu/.local/share/heroku/client/7.18.9/node_modules/@oclif/errors/lib/index.js:29
throw err;
^
Error: timed out
at Object.error (/home/ubuntu/.local/share/heroku/client/7.18.9/node_modules/@oclif/errors/lib/index.js:22:17)
at Timeout.setTimeout [as _onTimeout] (/home/ubuntu/.local/share/heroku/client/7.18.9/node_modules/@heroku-cli/command/lib/login.js:27:38)
at listOnTimeout (timers.js:324:15)
at processTimers (timers.js:268:5)

它意味着什么?我该如何摆脱它?

我也遇到了同样的问题。我必须键入

heroku登录-i

显然,-i代表交互式。我不得不在我可以访问的教程中找到隐藏在代码中的答案。我想我会在这里发布这个,以防它对其他人有帮助。希望这能有所帮助!

最新更新