firebase / firebase/firebase-tools

Authentication Fails with Windows 11: An Unknown Error occured

Open
#4,907 1 comment 0 reactions 1 assignee Claimed by @bkendall View on GitHub
type: bug
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [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

```console
firebase login
```

```console
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

```console
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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.