RaphaelJenni / FirebaseUI-Angular

A wrapper for FirebaseUI in Angular
Apache License 2.0
300 stars 69 forks source link

support angular9? #113

Closed 5987dogking closed 4 years ago

5987dogking commented 4 years ago

support angular9?
chrome console

core.js:5873 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'options' of undefined
TypeError: Cannot read property 'options' of undefined
    at new qo (esm.js:350)
    at new FirebaseuiAngularLibraryService (firebaseui-angular.js:22)
    at Object.FirebaseuiAngularLibraryService_Factory [as factory] (firebaseui-angular.js:27)
    at R3Injector.hydrate (core.js:16837)
    at R3Injector.get (core.js:16598)
    at NgModuleRef$1.get (core.js:36011)
    at Object.get (core.js:33774)
    at getOrCreateInjectable (core.js:5498)
    at Module.ɵɵdirectiveInject (core.js:20851)
    at NodeInjectorFactory.FirebaseuiAngularLibraryComponent_Factory [as factory] (firebaseui-angular.js:176)
    at resolvePromise (zone-evergreen.js:793)
    at resolvePromise (zone-evergreen.js:752)
    at zone-evergreen.js:854
    at ZoneDelegate.invokeTask (zone-evergreen.js:400)
    at Object.onInvokeTask (core.js:41235)
    at ZoneDelegate.invokeTask (zone-evergreen.js:399)
    at Zone.runTask (zone-evergreen.js:168)
    at drainMicroTaskQueue (zone-evergreen.js:570)
iammikecohen commented 4 years ago

+1 I would really like to see this. I can't believe @angular/fire doesn't work on v9.

var-kar commented 4 years ago

Looks like this is fixed in firebaseui-angular version 4.1.0. But I still get this error. I installed the entire project just today. So I run all latest versions.

Please help me out.

gonzo09 commented 4 years ago

@var-kar if you user version 6.0.0 of @angular/fire, try to update firebaseui-angular to 5.0.0-beta.0