question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This module will likely import firebase twice

See original GitHub issue

I confess I haven’t used this module, but I based my own code off it, and the way firebaseui is imported likely results in importing firebase twice, which can cause serious issues if the firebase modules are two different versions.

Should not import * as firebaseui from 'firebaseui'

Instead follow procedure detailed here

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RaphaelJennicommented, Aug 3, 2017

I will check that in the following week.

0reactions
RaphaelJennicommented, Sep 9, 2017

Yeah, I think that issue is solved by that. I close it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Initialize Firebase references in two separate files in the new API
What you need to do for this situation is to create a firebase module for your app that only initializes firebase once, then...
Read more >
Build unit tests | Firebase Security Rules - Google
The v9 Rules Unit Testing library is always aware of the emulators and never touches your production resources. You import the library using...
Read more >
next-firebase-auth - npm
This package makes it simple to get the authenticated Firebase user and ID token during both client-side and server-side rendering (SSR). Support for...
Read more >
FirebaseRecaptcha - Expo Documentation
Firebase phone authentication is not possible out of the box using the Firebase JS SDK. This because an Application Verifier object (reCAPTCHA) is...
Read more >
A Toolkit to Speed Up and Optimise Firebase Cloud Functions
As stated, Firebase will load all of the modules in the global scope for ... As your project grows, you will likely import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found