firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

Authentication Fails with Windows 11: An Unknown Error occured

Open RobertGemmaJr opened this issue 3 years ago • 1 comments

[REQUIRED] Environment info

firebase-tools: 11.7.0

Platform: Windows 11

[REQUIRED] Test case

There isn't really an example... it's crashing on attempted login. Firebase is installed with npm i -g firebase-tools

[REQUIRED] Steps to reproduce

firebase login
firebase init hosting:github

[REQUIRED] Expected behavior

  • Browser is launched
  • Prompted to select google account
  • Firebase logs in with the given account

[REQUIRED] Actual behavior

Authenticating...

Error: An unknown error occurred

There is no further information in the logfile. There is no error message anywhere but I can only assume it has to do with the authentication.

I can run firebase login --no-localhost and follow the steps to log in correctly but no such option is available for firebase init.

RobertGemmaJr avatar Aug 19 '22 17:08 RobertGemmaJr

Hey @bkendall can you take a look at this?

colerogers avatar Aug 22 '22 20:08 colerogers