question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't resolve all parameters for AngularFirestore, angular v5

See original GitHub issue

Version 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:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
ssuperczynskicommented, Jan 5, 2018
0reactions
TGibsonncommented, Jan 3, 2018

This causes a runtime error with Ionic 3 and does not pass it as just a warning.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found