I recently updated an app from an earlier Ionic 2 Alpha version to the latest Ionic 2 Beta 10. This upgrade has caused some of my code to break, and I'm struggling to understand the errors shown in the JavaScript console. The TypeScript is all bundled into one file, app.bundle.js, making it challenging to pinpoint the exact location of the error in the code. It would be ideal to be able to see the specific file triggering the error directly in the console output.
If anyone has any suggestions on how I can achieve this, I would greatly appreciate it!
Thank you!
browser_adapter.js:77EXCEPTION: Error: Uncaught (in promise): EXCEPTION: Error in :0:0
ORIGINAL EXCEPTION: No provider for ConfigService! (ESOService -> ConfigService)
ORIGINAL STACKTRACE:
Error: DI Exception
at NoProviderError.BaseException [as constructor] (http://localhost:8100/build/js/app.bundle.js:2805:23)
at NoProviderError.AbstractProviderError [as constructor] (http://localhost:8100/build/js/app.bundle.js:27996:16)
at new NoProviderError (http://localhost:8100/build/js/app.bundle.js:28033:16)
at ReflectiveInjector_._throwOrNull (http://localhost:8100/build/js/app.bundle.js:29021:19)
at ReflectiveInjector_._getByKeyDefault (http://localhost:8100/build/js/app.bundle.js:29049:25)
at ReflectiveInjector_._getByKey (http://localhost:8100/build/js/app.bundle.js:29012:25)
at ReflectiveInjector_._getByReflectiveDependency (http://localhost:8100/build/js/app.bundle.js:29002:21)
at ReflectiveInjector_._instantiate (http://localhost:8100/build/js/app.bundle.js:28899:36)
at ReflectiveInjector_._instantiateProvider (http://localhost:8100/build/js/app.bundle.js:28871:25)
at ReflectiveInjector_._new (http://localhost:8100/build/js/app.bundle.js:28860:21)
ERROR CONTEXT:
[object Object]