Open in app

Sign In

Write

Sign In

Onick Ahmed
Onick Ahmed

1 Follower

Home

About

Pinned

Promises of Javascript

Definition FreeCodeCamp did a great job explaining Promises in javascript: A promise in JavaScript is similar to a promise in real life. When we make a promise in real life, it is a guarantee that we are going to do something in the future. …

Promises

3 min read

Promises of Javascript
Promises of Javascript
Promises

3 min read


May 16, 2021

Uncaught FirebaseError: Firebase: No Firebase App ‘[DEFAULT]’ has been created — call Firebase App.initializeApp() (app/no-app)

This error fires on this method, App.initilizeApp(). To solve this you need to, import firebase from “firebase/app”; export const initializeLoginFramework = !firebase.apps.length ? firebase.initializeApp(appConfig) : firebase.app() The reason behind this is that firebase can only be initialized once. This method checks to see whether there it’s been initialized already, and only initializes it if it has been. If not, it just returns the initialized firebase app.

Firebase

1 min read

Uncaught FirebaseError: Firebase: No Firebase App ‘[DEFAULT]’ has been created — call Firebase App.i
Uncaught FirebaseError: Firebase: No Firebase App ‘[DEFAULT]’ has been created — call Firebase App.i
Firebase

1 min read

Uncaught FirebaseError: Firebase: No Firebase App ‘[DEFAULT]’ has been created — call Firebase App.initializeApp() (app/no-app)

https://www.kindacode.com/wp-content/uploads/2020/11/Firebase-error.jpg

This error fires on this method, App.initilizeApp(). To solve this you need to,

import firebase from “firebase/app”;

export const initializeLoginFramework = !firebase.apps.length ? firebase.initializeApp(appConfig) : firebase.app()

The reason behind this is that firebase can only be initialized once. This method checks to see whether there it’s been initialized already, and only initializes it if it has been. If not, it just returns the initialized firebase app.

--

--

Onick Ahmed

Onick Ahmed

1 Follower

Web Developer - Full Stack

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech