```
import firebase from 'firebase'

const firebaseConfig = {
  apiKey: "AIzaSyBOK7x5N5UnjY4TDqndzH7l5tvdNIsWFRc",
  authDomain: "todo-app-e3cf0.firebaseapp.com",
  projectId: "todo-app-e3cf0",
  storageBucket: "todo-app-e3cf0.appspot.com",
  messagingSenderId: "940016886081",
  appId: "1:940016886081:web:91686613f16b1b1f8001c0",
  measurementId: "G-JHPC7TP12K"
};

const firebaseApp = firebase.initializeApp(firebaseConfig);
const db = firebase.firestore();

export default db;

```

**Error**
Module not found: Error: Package path . is not exported from package C:\Users\Sairam\Visual Code\todo-list\node\_modules\firebase (see exports field in C:\Users\Sairam\Visual Code\todo-list\node\_modules\firebase\package.json)
Did you mean './firebase'?