Skip to content

"updateCurrentUser failed" error on screen, after using 4.7.1 via ES module import #776

@akauppi

Description

@akauppi

Describe your environment

  • Operating System version: macOS
  • Browser version: Chrome 85
  • Firebase UI version: 4.7.1
  • Firebase SDK version: 8.0.0

Describe the problem

The ability to import as ES module in 4.7.1 is something I have been looking forward to. Bringing it in in my application, I found two problems. This issue describes the more crucial one, which I don't understand and can not find a way around.

After changing my code to use import instead of loading via the globals, and signing in with Google account, I see this:

image

I have no idea, where it comes from.

Steps to reproduce:

  1. Clone https://github.com/akauppi/GroundLevel-es-firebase-app
  2. Set up a Firebase project to work against (please read the README, until you can npm run dev:online).
  3. npm run dev:online

Open the browser at http://localhost:3001 and try Google sign-in.

Expected: one should get to the app
Actual: the above error is shown

Relevant Code:

Unfortunately, I don't have a minimum reproducing project available. Merely scouting, if other are also seeing this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions