angularfire: Won't build with Angular 10

When I try to build or run my project it won’t do either. It says that ModuleWithProviders<T> requires 1 type argument (screenshot attached below).

Version info

Angular: 10.0.1

Firebase: 7.15.1

AngularFire: 6.0.2

Other (e.g. Ionic/Cordova, Node, browser, operating system):

How to reproduce these conditions

Create an Angular 10 project (with @angular/core version 10.0.1). Add @angular/fire libary. Try to build.

Expected behavior

I should be able to build and run the project.

Actual behavior

Screenshot from 2020-06-26 23-42-45

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 7
  • Comments: 21 (3 by maintainers)

Most upvoted comments

I made a PR for this #2527

@Mihai-MCW according to their changelog, 6.0.2 should work on angular 10 https://github.com/angular/angularfire/blob/master/CHANGELOG.md

@vtregner you can install the canary version npm i @angular/fire@canary that has the fix in and is fully working.

Fix is already merged to master, but not released. Can you release new version? Due this issue I cannot update my library to Angular 10…

With the fix for https://github.com/angular/angularfire/issues/2505 getting into the latest Canary, it looks like (based on https://github.com/angular/angularfire/issues/2505#issuecomment-698097239) that a 6.0.3 release is coming very soon.

It seems the project is dead. Unbelievable ignorance.

Is there an estimated date for releasing 6.0.3?

Fix is already merged to master, but not released. Can you release new version? Due this issue I cannot update my library to Angular 10…

@hlpupo like @shadow1349 suggested, use the canary version. npm i @angular/fire@canary