title: How to export ./getFirestore from package?
body: <p>ERROR in ./src/firebase.config.js 5:0-53</p>
  <blockquote>
  <p>Module not found: Error: Package path ./getFirestore is not exported
  from package
  C:\Users\pc\Documents\react\housemarketplace\node_modules\firebase
  (see exports field in
  C:\Users\pc\Documents\react\housemarketplace\node_modules\firebase\package.json)</p>
  </blockquote>
  <p>Hi, I'm new to ReactJs. I am using firebase but facing this error. Here is my firebase.config.js code.</p>
  <pre><code>// Import the functions you need from the SDKs you need
  import { initializeApp } from &quot;firebase/app&quot;;
  import {getFirestore} from &quot;firebase/getFirestore&quot;
  
  // Your web app's Firebase configuration
  const firebaseConfig = {
  apiKey: &quot;AIzaSyDhcFQaKpAGkouNkk-Rs8dJsXkDhQyKPDA&quot;,
  authDomain: &quot;housemarketplace-66bcf.firebaseapp.com&quot;,
  projectId: &quot;housemarketplace-66bcf&quot;,
  storageBucket: &quot;housemarketplace-66bcf.appspot.com&quot;,
  messagingSenderId: &quot;453550391960&quot;,
  appId: &quot;1:453550391960:web:8ea1565a94d158e4e006ed&quot;
  };
  
  // Initialize Firebase
  const app = initializeApp(firebaseConfig)
  export const  db = getFirestore() 
  </code></pre>