It should be possible to set the port for each service seperately.
What is actually happening?
Setting emulator port in both configurations, firestore and database results FIREBASE FATAL ERROR: Cannot call useEmulator() after instance has already been initialized. on SSR.
This can be fixed by removing the emulatorPort field from database, and it will use an emulator, but according to docs, this should not be the case.
Version
@nuxtjs/firebase: 8.2.2 firebase: 9.9.2 nuxt: 2.15.7
Reproduction Link
Steps to reproduce
What is Expected?
It should be possible to set the port for each service seperately.
What is actually happening?
Setting emulator port in both configurations,
firestore
anddatabase
resultsFIREBASE FATAL ERROR: Cannot call useEmulator() after instance has already been initialized.
on SSR.This can be fixed by removing the
emulatorPort
field fromdatabase
, and it will use an emulator, but according to docs, this should not be the case.