"updateCurrentUser failed" error on screen, after using 4.7.1 via ES module import
See original GitHub issueDescribe 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:
I have no idea, where it comes from.
Steps to reproduce:
- Clone https://github.com/akauppi/GroundLevel-es-firebase-app
- Set up a Firebase project to work against (please read the README, until you can
npm run dev:online
). 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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Firebase UI: updateCurrentUser failed: First argument "user ...
This workaround is to list firebaseui in the project's packages.json : ... and then import the firebase modules from firebaseui's ...
Read more >“create element from array” Code Answer
server/server.js Module build failed (from . ... npx create react app Must use import to load ES Module error · mongodb mongoose document...
Read more >Top Related Medium Post
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same, local not working. Production seems fine. edit: seems to be the buildDir location being within firebase functions folder
I have the same problem, in localhost only, using npm nuxtjs/firebase with npm firebase and npm firebaseui.
While it perfectly works in production.