I m beginner in Ionic 3. Right now I’m trying to connect to firebase , but I get Error: Error: Uncaught (in promise): Error: No provider for AngularFireDatabase! (please see the photo attached)
i have the last version !
Runtime Error
Uncaught (in promise): Error: No provider for AngularFireDatabase! Error: No provider for AngularFireDatabase! at injectionError (http://localhost:8100/build/vendor.js:1526:90) at noProviderError (http://localhost:8100/build/vendor.js:1564:12) at ReflectiveInjector_.throwOrNull (http://localhost:8100/build/vendor.js:3006:19) at ReflectiveInjector.getByKeyDefault (http://localhost:8100/build/vendor.js:3045:25) at ReflectiveInjector.getByKey (http://localhost:8100/build/vendor.js:2977:25) at ReflectiveInjector.get (http://localhost:8100/build/vendor.js:2846:21) at resolveNgModuleDep (http://localhost:8100/build/vendor.js:9846:25) at NgModuleRef_.get (http://localhost:8100/build/vendor.js:10934:16) at resolveDep (http://localhost:8100/build/vendor.js:11437:45) at createClass (http://localhost:8100/build/vendor.js:11293:91)
Stack
Error: Uncaught (in promise): Error: No provider for AngularFireDatabase!
Error: No provider for AngularFireDatabase!
@jourthoma am facing same problem now …have you find solution …please help me??
Has anyone found a solution for this problem? the AngularFireAuth works with no issues (i can login to firebase etc). I can import the AngularFireDatabase but as soon as it’s added to the constructor it generates the error.
I have not been doing v3 for a while, but that error usually means you need to add AngularFireDatabase
to you list of providers in the app root module
StatusBar,
SplashScreen,
AngularFireDatabase, //add this