🔌 A simple wrapper for AngularFire2 to read and write to Firebase while offline, even after a complete refresh.
207
stars
48
forks
source link
Error in ./MyApp class MyApp - caused by: No provider for AngularFireOffline! #14
Closed
Xdabier closed 7 years ago
I just added the module in app.module.ts as you said in the tutorial and the I ran ionic serve and it gave me that error : Runtime Error Error in ./MyApp class MyApp - caused by: No provider for AngularFireOffline! Stack Error: DI Error at v (http://localhost:8100/build/polyfills.js:3:4864) at NoProviderError.BaseError [as constructor] (http://localhost:8100/build/main.js:37477:27) at NoProviderError.AbstractProviderError [as constructor] (http://localhost:8100/build/main.js:79416:16) at new NoProviderError (http://localhost:8100/build/main.js:79478:16) at ReflectiveInjector_.throwOrNull (http://localhost:8100/build/main.js:137684:19) at ReflectiveInjector.getByKeyDefault (http://localhost:8100/build/main.js:137723:25) at ReflectiveInjector.getByKey (http://localhost:8100/build/main.js:137655:25) at ReflectiveInjector.get (http://localhost:8100/build/main.js:137524:21) at AppModuleInjector.get (/AppModule/module.ngfactory.js:343:104) at AppModuleInjector.getInternal (/AppModule/module.ngfactory.js:471:52) at AppModuleInjector.NgModuleInjector.get (http://localhost:8100/build/main.js:80351:44) at CompiledTemplate.proxyViewClass.AppView.injectorGet (http://localhost:8100/build/main.js:138459:45) at CompiledTemplate.proxyViewClass.DebugAppView.injectorGet (http://localhost:8100/build/main.js:138887:49) at ElementInjector.get (http://localhost:8100/build/main.js:137963:27) at CompiledTemplate.proxyViewClass.AppView.injectorGet (http://localhost:8100/build/main.js:138459:45)
I'm using : Ionic Framework: 2.0.0 Ionic Native: 2.4.1 Ionic App Scripts: 1.1.4 Angular Core: ^2.4.8 Angular Compiler CLI: ^2.4.8 Node: 7.7.3 OS Platform: Linux 4.4 Navigator Platform: Linux x86_64 User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36