Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

241
Vistas
Cannot read properties of undefined (reading 'initializeApp') is error i keep getting while trying to set up firebase

So im building a budgeting app and wanted to use this codesandbox https://codesandbox.io/s/budget-app-forked-k8uwf9?file=/src/firebase.js:0-754 as a way to kind of understand plaids integration into react but for some reason the firebase.js is crashing the app not allowing me to study it and learn I've been looking at docs and searching but I cant fix the error or understand why it is throwing it.

import  {firebase} from "firebase/app";
import "firebase/auth";
import "firebase/firestore";
import "firebase/functions";

const config = {
  apiKey: "AIzaSyCnRw0mLx64LJgE_nqx0yoXLo7G2mXbpB8",
  authDomain: "budget-app-caf46.firebaseapp.com",
  databaseURL: "https://budget-app-caf46.firebaseio.com",
  projectId: "budget-app-caf46",
  storageBucket: "budget-app-caf46.appspot.com",
  messagingSenderId: "646486656292",
  appId: "1:646486656292:web:a15a70581e4c934e54dfb1",
  measurementId: "G-1327LTP9VL"
};

firebase.initializeApp(config);

export const auth = firebase.auth();

export const functions = firebase.functions();

export const fb = firebase;

export const db = firebase.firestore();
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda