The default Firebase app does not exist. Make sure you call initializeApp() #5910
Replies: 6 comments 1 reply
-
Hi Geoffrey-Pliez, I haven't seen that problem - can you share more information on what platform and SDK you're using? |
Beta Was this translation helpful? Give feedback.
-
Hi @christhompsongoogle, |
Beta Was this translation helpful? Give feedback.
-
It looks like the error is being thrown here: The location is in the admin SDK but I wonder if this is a web frameworks issue. @lahirumaramba May be able to add more insight. |
Beta Was this translation helpful? Give feedback.
-
Hi @Geoffrey-Pliez, We'd like to better understand your app's setup and the flows that lead to this error. Could you create an Issue in this repo and provide the following information:
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @DellaBitta , Here is the minimal source code to reproduce the problem. When I test locally with the prod_preview command (set FIREBASE_FRAMEWORKS_BUILD_TARGET=production&& npm run emulators), When I deploy on the server (firebase hosting) via the firebase deploy command, it no longer works and get the message I'm not sure but I think it's since upgrading from 11.30.0 to 12.0.0 |
Beta Was this translation helpful? Give feedback.
-
Thank you @Geoffrey-Pliez for the reproducible example. Since this seems like it's going down the route of a bug-fix I'm going to open an issue and close this discussion. |
Beta Was this translation helpful? Give feedback.
-
In production, App is no longer initialized.
Like this the script no longer passed in the firebase-frameworks/firebase-aware.
Are you having the same issue ?
Beta Was this translation helpful? Give feedback.
All reactions