close

[Solved] Error: No Firebase App ‘[DEFAULT]’ has been created – call Firebase App.initializeApp()

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Error: No Firebase App ‘[DEFAULT]’ has been created – call Firebase App.initializeApp() in javascript. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Error: No Firebase App ‘[DEFAULT]’ has been created – call Firebase App.initializeApp() Error Occurs?

Today I get the following error Error: No Firebase App ‘[DEFAULT]’ has been created – call Firebase App.initializeApp() in javascr

How To Solve Error: No Firebase App ‘[DEFAULT]’ has been created – call Firebase App.initializeApp() Error ?

  1. How To Solve Error: No Firebase App '[DEFAULT]' has been created – call Firebase App.initializeApp() Error ?

    To Solve Error: No Firebase App '[DEFAULT]' has been created – call Firebase App.initializeApp() Error You are probably invoking firebase before the app is initialized. All calls to firebase. must come after .initializeApp();

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

    To Solve Error: No Firebase App '[DEFAULT]' has been created – call Firebase App.initializeApp() Error You are probably invoking firebase before the app is initialized. All calls to firebase. must come after .initializeApp();

Solution 1

You are probably invoking firebase before the app is initialized. All calls to firebase. must come after .initializeApp();

firebase.initializeApp(config);
var db = firebase.firestore();

Solution 2

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also Read

Leave a Comment