Error: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp()

后端 未结 9 690
慢半拍i
慢半拍i 2020-12-01 15:55

I have a firebase database linked up to two apps, one being an iOS app and another being a web app coded in node.js which is a basic algorithm that sets data to the database

9条回答
  •  醉话见心
    2020-12-01 16:01

    My problem was because I added a second parameter:

    AngularFireModule.initializeApp(firebaseConfig, 'reservas')
    

    if I remove the second parameter it works fine:

    AngularFireModule.initializeApp(firebaseConfig)
    

提交回复
热议问题