-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't resolve all parameters for AngularFirestore #1206
Comments
@ankemp We're working on this and should have something in before the 5.0 release. |
@davideast so far still having this error. Hope to see fix soon. [email protected] Output during --aot --prod Warning: Can't resolve all parameters for AngularFirestore in /Users//Documents/Projects//node_modules/angularfire2/firestore/index.d.ts: ([object Object], ?). This will become an error in Angular v5.x |
I have similar problem too Uncaught Error: Can't resolve all parameters for AngularFirestore: ([object Object], ?). @angular/common: 4.1.1 |
When I removed it from the providers, the error disappeared. |
@ahmadalibaloch You just need to import the modules you want to use, in the case of firestore, |
|
So is there any solution for it? |
@habib786 This isn't something to worry about. It won't become an error until Angular 6 which is a long ways out. It also doesn't break your build. It has to do with the way the Angular CLI interprets namespaces, we're working on it. |
@habib786 |
@davideast It seems that in the situation @habib786 described the warning suggests it will become an error in version 5 of angular, not version 6:
|
I am getting this error using version ^5.0.0-rc.3 |
Hello, I am also getting this error on NG 5.0.0-rc.6 |
any updates? |
same error using version 5.0.0-rc.3 |
This is not an error until Angular 6. It is just a warning. We will resolve it before the release. |
Version info
Angular: 4.4.x
Firebase: 4.3.0
AngularFire: 5.0.0-RC.1
Output during ng build --aot --prod
The text was updated successfully, but these errors were encountered: