Answers for "Module not found: Can't resolve 'firebase/app' in"

0

module not found: Can't resolve 'firebase'

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

// add these import ^^
Posted by: Guest on September-07-2021
0

Module not found: Can't resolve 'firebase'

import { initializeApp } from 'firebase/app';

const firebaseConfig = {
  //...
};

const app = initializeApp(firebaseConfig);
Posted by: Guest on October-30-2021
7

Can't resolve 'firebase/app' in

npm install firebase
Posted by: Guest on July-31-2020

Code answers related to "Module not found: Can't resolve 'firebase/app' in"

Browse Popular Code Answers by Language