Firebase-tools: cannot login

Created on 19 Oct 2015  ·  14Comments  ·  Source: firebase/firebase-tools

When I try to use Firebase Login through CLI,
it says
Error: Cannot run login in non-interactive mode. Pass --token instead.

This is a newly installed PC. In my old PC, I could use firebase CLI.
In my newly installed PC, after installing firebase-tools, I tried to login using the command

firebase login

But instead got the error above.

bug

Most helpful comment

@tems99 we addressed this in #80. You should be able to login by upgrading to the latest version (2.0.2) of firebase-tools and running:

firebase login --interactive

Please let me know if it doesn't work.

All 14 comments

How are you attempting to run the command? Through the command line, cygwin, PowerShell?

@tems99 we addressed this in #80. You should be able to login by upgrading to the latest version (2.0.2) of firebase-tools and running:

firebase login --interactive

Please let me know if it doesn't work.

firebase login:ci --interactive

this is the solution

Also using:
firebase login --no-localhost
worked for me

to me :)

firebase login --interactive

working!! thnks!

Not a single one of these worked for me. It still says "An unexpected error has occured" right after Paste authorization code here"

firebase login --interactive
Works perfectly. Thanks!!

In windows
if you are using Git Bash try using CMD.

from cygwin windows 7 sp1. same trouble,
instead of use cygwin use cmd firebase login

solved!

In windows
You can use terminal of vscode ,it works like a sharm

this one worked for me to generate the token for ci/cd:

$ firebase login:ci --interactive --no-localhost

firebase login:ci --interactive

this is the solution

this worked for me
firebase login:ci --interactive

damn.... firebase login --interactive HAHAH thanks a lot

Was this page helpful?
0 / 5 - 0 ratings