Can't resolve all parameters for AngularFirestore, angular v5
See original GitHub issueVersion info
Angular: 5.0.0
Firebase: 4.6.1
AngularFire: 5.0.0-rc.3
Other (e.g. Ionic/Cordova, Node, browser, operating system): core-js: 2.5.1 zone.js: 0.8.18
How to reproduce these conditions
just set a new app with angularfire2 and use AngularFirestore in a constructor
Failing test unit, Plunkr, or JSFiddle demonstrating the problem check stackblitz: https://stackblitz.com/edit/angular5-firebase2
Steps to set up and reproduce
Sample data and security rules
Debug output
** Errors in the JavaScript console **
Can’t resolve all parameters for AngularFirestore: ([object Object], ?).
** Output from firebase.database().enableLogging(true);
**
** Screenshots **
Expected behavior
AngularFirestore should work
Actual behavior
Can’t resolve all parameters for AngularFirestore: ([object Object], ?).
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Can't resolve all parameters for AngularFirestore: ([object ...
I have been getting the same error. It is because you have AngularFirestore listed as a service provider which it is not.
Read more >Can't resolve all parameters for AngularFirestore #1206 - GitHub
When I just import AngularFirestore in my component, the error was No provider for AngularFirestore and when I import it my app.module file...
Read more >Fixing the "can't resolve all parameters" exception with ...
The (?) indicates that Angular couldn't resolve the second parameter of the constructor: constructor( @Host() private readonly hostComponent: ...
Read more >Cannot understand "Can't resolve all parameters for page ...
i found solution this is because of ionic new version update. I Advise you to use second last version of plugin. you can...
Read more >Angular : Error: Uncaught (in promise): TypeError: Object(…) is not a ...
when I initiate my service into the constructor. this the service I am using : import { Injectable } from '@angular/core'; import {...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Solution https://stackoverflow.com/a/47051516/1168786
This causes a runtime error with Ionic 3 and does not pass it as just a warning.