简体   繁体   中英

Can't resolve all parameters for AngularFirestore (PROD Build)

I got this error on during production build:

13% building modules 30/30 modules 0 activeWarning: Can't resolve all parameters for AngularFirestore in **.../node_modules/angu
larfire2/firestore/index.d.ts: ([object Object], ?)**\. This will become an error in Angular v5.x
  • Angular: 4.2.4
  • Firebase: 4.5.0
  • AngularFire: 5.0.0-rc.2
  • @angular/cli: 1.4.4

This is an open issue on github.

https://github.com/angular/angularfire2/issues/1206

As said by davideast "We're working on this and should have something in before the 5.0 release."

Best we can do is wait or find a workaround which doesn't use fireangular.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM