Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

ERROR Error: Uncaught (in promise): Error: inject() must be called from an injection context

$
0
0

I am updating from ionic v2 to ionic v5. My approach was to made a similar page tree, install all plugins. I am getting this error in chrome browser.
core.js:6456 ERROR Error: Uncaught (in promise): Error: inject() must be called from an injection context
Error: inject() must be called from an injection context
at injectInjectorOnly (core.js:4722)
at ɵɵinject (core.js:4732)
at NodeInjectorFactory.LoginPage_Factory [as factory] (ɵfac.js? [sm]:1)
at getNodeInjectable (core.js:3549)
at instantiateRootComponent (core.js:10120)
at createRootComponent (core.js:12479)
at ComponentFactory$1.create (core.js:25144)
at ViewContainerRef.createComponent (core.js:23182)
at IonRouterOutlet.activateWith (ionic-angular.js:2938)
at ActivateRoutes.activateRoutes (router.js:2161)
at resolvePromise (zone.js:1255)
at resolvePromise (zone.js:1209)
at zone.js:1321
at ZoneDelegate.invokeTask (zone.js:434)
at Object.onInvokeTask (core.js:28661)
at ZoneDelegate.invokeTask (zone.js:433)
at Zone.runTask (zone.js:205)
at drainMicroTaskQueue (zone.js:620)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>