angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Blank page renders with AngularFire 5.4.x

Open anisabboud opened this issue 6 years ago • 10 comments

  • 5.3.1 works fine for me with latest Angular 8.3.24 and Firebase 7.8.0.
  • When upgrading to 5.4.0 or 5.4.1, my angular app loads a blank page. There are no errors in the terminal/console (and logging auth state and user id is successful), but inspecting the page shows that the <app-root> element contains only an empty <router-outlet> and no other components were loaded...
  • Downgrading back to 5.3.1 works fine again...

Are there any breaking changes in 5.4.0 I should look for? Thanks!

anisabboud avatar Feb 05 '20 22:02 anisabboud

We did a lot of Zone.js work that landed in 5.4, that could be causing trouble. Hmmmm...

jamesdaniels avatar Feb 05 '20 23:02 jamesdaniels

I'd say stick with 5.3.1 for now. Are you planning on migrating to ng 9 once it's out? Curious if you'd run into this with AngularFire v6 too, as in theory I rebased all that in...

If you have an easy repro feel free to share, [email protected]

jamesdaniels avatar Feb 05 '20 23:02 jamesdaniels

Might related to #2309

sarunint avatar Feb 06 '20 05:02 sarunint

Agreed. I'm taking the problematic share out and running the tests now.

jamesdaniels avatar Feb 06 '20 05:02 jamesdaniels

@anisabboud can you check 5.4.2?

jamesdaniels avatar Feb 06 '20 06:02 jamesdaniels

5.4.2 works well, thanks @jamesdaniels!

(Yes, I'm planning to upgrade to Angular 9 and AngularFire v6 once it's out.)

anisabboud avatar Feb 06 '20 09:02 anisabboud

Excellent. Don’t hesitate to reach out if you have any trouble with the RC.

jamesdaniels avatar Feb 06 '20 10:02 jamesdaniels

what is the latest stable version of firebase and angular that work well with 5.4.2?

  • AngularFire: 5.4.2
  • Firebase: ?
  • Angular: ?

josejaner avatar Mar 11 '20 21:03 josejaner

AngularFire 5.4 should work correctly with Angular 8 and any recent Firebase JS SDK version. See peerDependencies in published package.json

jamesdaniels avatar Mar 11 '20 22:03 jamesdaniels

latest stable version with angular 8 AngularFire: 5.4.2 Firebase: 7.10.0 Angular: 8.3.25

but with 9, is any already available?

josejaner avatar Mar 13 '20 15:03 josejaner