title: "Git Push Heroku Master" - Cannot login to heroku - Cloud9 IDE
body: <p>Having troubles with heroku. This problem kind of came out of nowhere. I've been pushing updates for months without error and all of a sudden I'm having problems. </p>
  
  <p>When I do Git Push Heroku Master (on C9) I get prompted to login: </p>
  
  <pre><code>&gt; remote: !       WARNING: remote: !       Do not authenticate with
  &gt; username and password using git. remote: !       Run `heroku login` to
  &gt; update your credentials, then retry the git command.
  </code></pre>
  
  <p>However if I run "heroku login" I get this error: </p>
  
  <pre><code>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 `&lt;main&gt;'
   !    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
  </code></pre>
  
  <p>I've seen the advice to try the following but when I try I get the same error above: </p>
  
  <pre><code>username : blank
  
  password : heroku auth token
  </code></pre>