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

106
Views
React and Firebase authentication

I have tried to work with firebase-auth.And my code was:

import firebase from "firebase/app"
import "firebase/auth";

const config = firebase.initializeApp({
    apiKey: "****************",
    authDomain: "*************.firebaseapp.com",
    projectId: "*************",
    storageBucket: "*************.appspot.com",
    messagingSenderId: "*************",
    appId: "*************",
    measurementId: "G-*************"
});

export const auth = firebase.auth()

const provider = new firebase.auth.GoogleAuthProvider();
provider.setCustomParameters({ prompt: 'select_account' });

export const signInWithGoogle = () => auth.signInWithPopup(provider);

export default config;`

After this I take error which:

Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/firebase_app.js?v=a999d869' does not provide an export named 'default' (at Config.jsx:1:1)

How can I solve it?

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!