I'm getting this error but I don't know why. It is vue app, I npm installed Firebase, then I created my firebaseConfig.js
where is my api key and other data as in docs.. then I have my firebaseInit.js
with this code:
import firebase from 'firebase'
import 'firebase/firestore'
import firebaseConfig from './firebaseConfig'
const firebaseApp = firebase.initializeApp(firebaseConfig)
export default firebaseApp.firestore()
in my package json I have this dependency:
"firebase": "^9.6.4",
and this is what I get as an error:
This dependency was not found:
* firebase in ./src/components/firebaseInit.js
To install it, you can run: npm install --save firebase