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

182
Views
× Firebase: no se ha creado ninguna aplicación Firebase '[DEFAULT]'; llame a Firebase App.initializeApp() (app-compat/no-app)

aquí es donde estoy recibiendo el error:

 import {Button, ThemeProvider} from "@mui/material"; import firebase from "firebase/compat/app" import "firebase/compat/auth" const auth = firebase.auth(); function LoginForm(props) { function loginHandler() { } function loginWithGoogleHandler() { const provider = new firebase.auth.GoogleAuthProvider(); auth.signInWithPopup(provider); } return ( <ThemeProvider theme={props.theme}> <Button variant="contained" color="primary" onClick={loginHandler}> LOGIN </Button> <Button variant="contained" color="primary" onClick={loginWithGoogleHandler}> LOGIN WITH GOOGLE? </Button> </ThemeProvider> ); } export default LoginForm;

No dice en qué línea se encuentra el error. Busqué otras soluciones y dijeron que estabas definiendo algo antes que lo otro, pero no lo entendí muy bien y esas soluciones contenían const db = firebase.firestore(); así que creo que es algo más lo que está mal con mi código.

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!