Closed KayJay89 closed 3 years ago
I think you need Firebase.initializeApp(firebaseConfig)
as opposed to Firebase.initializeApp({ firebaseConfig })
what you have now...
Let me know if it doesn't work! : )
This is literally the only post about this problem and I am also experiencing this while trying to access firestore. Was there a solution?
The solution is posted on 21 Jan.
Hi all,
I wanted to try out this packages but I can't even seem to get the basic explanation up and running. I am always receiving the below error in the console when trying to run the app, despite having provided the ProjectId in the config.
My config looks basically identical to the one provided in the documentation with exception of the module names:
Note I deleted the real config strings and replaced with XXX. Works fine without using this package so I know there's nothing wrong with the actual config details provided.
I did have to change the import statement in the firebase.js config file because I was getting another error when applying the one mentioned in the installation guide:
as opposed to
If I kept the original import statement the below error would be triggered:
For completion sake: I used Vue CLI to create my project (Vue 2) and Firebase 8.2.0 installed.