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.

Request upgrade to support firebase sdk 8

See original GitHub issue

I would like to use firebase sdk 8 in my project but I am blocked with compilation errors

ERROR in node_modules/firebaseui-angular/lib/firebaseui-angular-library.helper.d.ts:2:34 - error TS2694: Namespace '"/home/someapp/node_modules/firebase/index"' has no exported member 'auth'.
    
    2 import UserCredential = firebase.auth.UserCredential;
                                       ~~~~
    node_modules/firebaseui-angular/lib/firebaseui-angular-library.helper.d.ts:13:34 - error TS2694: Namespace '"/home/micydem/someapp/node_modules/firebase/index"' has no exported member 'auth'.
    
    13     credential: firebaseOriginal.auth.AuthCredential;
                                        ~~~~

It looks like firebase auth imports have changed docs

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
RaphaelJennicommented, Nov 8, 2020

Version 5.1.0 (https://www.npmjs.com/package/firebaseui-angular/v/5.1.0) is live with support for firebase 8. Please give it a try and tell me if there are any problems.

1reaction
RaphaelJennicommented, Nov 18, 2020

@tigbeans Using the emulator is a firebase specific function (not firebaseui). As it seems, you can simply tell the firebase instance, that you want to connect to an emulator. (See: https://firebase.google.com/docs/emulator-suite/connect_auth#android_ios_and_web_sdks).

So I think, this is not functionality, that needs to be ported to this firebaseui wrapper. This might be something for angularfire.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade from version 8 to the modular Web SDK - Firebase
The upgrade steps in this guide will be based around an imaginary web app that uses the Authentication and Cloud Firestore SDKs. By...
Read more >
firebase-admin - npm
We welcome bug reports, feature requests, code review feedback, and also pull requests. Supported Environments. We support Node.js 14 and higher ...
Read more >
Using Firebase - Expo Documentation
A guide on getting started and using Firebase JS SDK and React Native Firebase library. Firebase is a Backend-as-a-Service (BaaS) app development platform...
Read more >
Firebase Javascript SDK - GitHub
Before you can start working on the Firebase JS SDK, you need to have Node.js installed on your machine. The currently supported versions...
Read more >
Release Notes - Play services - Google Developers
The latest update to the play-services-threadnetwork library includes the following changes: Added support on Android 8.0 (API level 26). Artifacts released on ...
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