angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Won't build with Angular 10

Open shadow1349 opened this issue 6 years ago • 21 comments

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

shadow1349 avatar Jun 27 '20 04:06 shadow1349

I found another place where ModuleWithProviders is needed and fixed it in PR: https://github.com/angular/angularfire/pull/2598.

Splaktar avatar Sep 25 '20 03:09 Splaktar