遇到了heroku的麻烦。这个问题出乎意料。我已经连续数月推出更新而没有错误,突然之间我遇到了问题。
当我做Git Push Heroku Master(在C9上)时,我会被提示登录:
> remote: ! WARNING: remote: ! Do not authenticate with
> username and password using git. remote: ! Run `heroku login` to
> update your credentials, then retry the git command.
但是,如果我运行" heroku登录"我收到这个错误:
undefined method `[]' for nil:NilClass
/usr/local/heroku/lib/heroku/jsplugin.rb:59:in `commands'
/usr/local/heroku/lib/heroku/jsplugin.rb:208:in `find_command'
/usr/local/heroku/lib/heroku/jsplugin.rb:12:in `try_takeover'
/usr/local/heroku/lib/heroku/cli.rb:25:in `start'
/usr/bin/heroku:25:in `<main>'
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new
Error: undefined method `[]' for nil:NilClass (NoMethodError)
Command: heroku login
Version: heroku-toolbelt/3.42.20 (x86_64-linux) ruby/2.2.1
More information in /home/ubuntu/.heroku/error.log
我已经看到了尝试以下内容的建议,但是当我尝试时,我得到了同样的错误:
username : blank
password : heroku auth token