For some reason I can't quite figure out, Angular 2 can't find providers for NavController.
Any Ideas on how to solve this?
?ionicplatform=ios:28EXCEPTION: Error in ./MyApp class MyApp_Host - inline template:0:0
caused by: No provider for NavController!
?ionicplatform=ios:28Error: No provider for NavController!
at NoProviderError.BaseError [as constructor] (errors.js:24)
at NoProviderError.AbstractProviderError [as constructor] (reflective_errors.js:42)
at new NoProviderError (reflective_errors.js:73)
at ReflectiveInjector_._throwOrNull (reflective_injector.js:761)
at ReflectiveInjector_._getByKeyDefault (reflective_injector.js:789)
at ReflectiveInjector_._getByKey (reflective_injector.js:752)
at ReflectiveInjector_.get (reflective_injector.js:561)
at AppModuleInjector.get (AppModule.ngfactory.js:287)
at AppModuleInjector.get (AppModule.ngfactory.js:292)
at AppModuleInjector.get (AppModule.ngfactory.js:302)
Found the problem, Another provider was injecting NavController but not using it. I just removed and everything else worked.
Thank you, man !! This resolved my problem too! =)
Please, give @sfabriece give more details about, I try remove, without sucess :(
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Most helpful comment
Found the problem, Another provider was injecting NavController but not using it. I just removed and everything else worked.