Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

207
Views
FirebaseUI incompatible with firebase v9?

I was trying to add easy sign-in UI provided by Firebase to my web-app (check this out: https://firebase.google.com/docs/auth/web/firebaseui?authuser=0 ), but it seems like there are compatibility issues.

Whenever I try to install the package using npm and the following code: $ npm install firebaseui --save, and then import it into my firebase-config.js file like so:

import { initializeApp } from "firebase/app";
import { getFirestore } from 'firebase/firestore';
var firebaseui = require('firebaseui');

I get the following error in React:

Attempted import error: ‘firebase/app’ does not contain a default export (imported as ‘firebase’)

Obviously there was a shift in the way modules get imported. I am aware of the solution by downgrading the firebase app to any version below v9, however, these versions start breaking my code in other parts. Using the compatibility version by importing: import { initializeApp } from "firebase/comp/app"; does not help and I get the same error as above.

Has anyone been able to find a workaround of how to elegantly incorporate the firebaseui authentication package into the current v9 of firebase?

Help would be greatly appreciated!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!