Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

244
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda