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

238
Views
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
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!