Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular Hybrid App fails #523

Open
Js4Life opened this issue Mar 11, 2020 · 1 comment
Open

Angular Hybrid App fails #523

Js4Life opened this issue Mar 11, 2020 · 1 comment

Comments

@Js4Life
Copy link

Js4Life commented Mar 11, 2020

ERROR NullInjectorError: StaticInjectorError(AppModule)[UISref -> UIRouter]:
StaticInjectorError(Platform: core)[UISref -> UIRouter]:
NullInjectorError: No provider for UIRouter!
at NullInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:36417:27)
at resolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51335:24)
at tryResolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51261:16)
at StaticInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:51111:20)
at resolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51335:24)
at tryResolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51261:16)
at StaticInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:51111:20)
at resolveNgModuleDep (https://localhost:3000/cmep/lib/vendor-es2015.js:62298:29)
at NgModuleRef_.get (https://localhost:3000/cmep/lib/vendor-es2015.js:63364:16)
at resolveDep (https://localhost:3000/cmep/lib/vendor-es2015.js:63895:45)
View_AppComponent_0 @ AppComponent.html:2
proxyClass @ compiler.js:19671
logError @ core.js:45546
handleError @ core.js:6066
(anonymous) @ core.js:40731
invoke @ zone-evergreen.js:359
run @ zone-evergreen.js:124
runOutsideAngular @ core.js:39572
(anonymous) @ core.js:40728
invoke @ zone-evergreen.js:359
onInvoke @ core.js:39699
invoke @ zone-evergreen.js:358
run @ zone-evergreen.js:124
(anonymous) @ zone-evergreen.js:855
invokeTask @ zone-evergreen.js:391
onInvokeTask @ core.js:39680
invokeTask @ zone-evergreen.js:390
runTask @ zone-evergreen.js:168
drainMicroTaskQueue @ zone-evergreen.js:559
invokeTask @ zone-evergreen.js:469
invokeTask @ zone-evergreen.js:1603
globalZoneAwareCallback @ zone-evergreen.js:1640
AppComponent.html:2 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 4, nodeDef: {…}, elDef: {…}, elView: {…}}
View_AppComponent_0 @ AppComponent.html:2
proxyClass @ compiler.js:19671
logError @ core.js:45546
handleError @ core.js:6071
(anonymous) @ core.js:40731
invoke @ zone-evergreen.js:359
run @ zone-evergreen.js:124
runOutsideAngular @ core.js:39572
(anonymous) @ core.js:40728
invoke @ zone-evergreen.js:359
onInvoke @ core.js:39699
invoke @ zone-evergreen.js:358
run @ zone-evergreen.js:124
(anonymous) @ zone-evergreen.js:855
invokeTask @ zone-evergreen.js:391
onInvokeTask @ core.js:39680
invokeTask @ zone-evergreen.js:390
runTask @ zone-evergreen.js:168
drainMicroTaskQueue @ zone-evergreen.js:559
invokeTask @ zone-evergreen.js:469
invokeTask @ zone-evergreen.js:1603
globalZoneAwareCallback @ zone-evergreen.js:1640
zone-evergreen.js:651 Unhandled Promise rejection: StaticInjectorError(AppModule)[UISref -> UIRouter]:
StaticInjectorError(Platform: core)[UISref -> UIRouter]:
NullInjectorError: No provider for UIRouter! ; Zone: ; Task: Promise.then ; Value: NullInjectorError: StaticInjectorError(AppModule)[UISref -> UIRouter]:
StaticInjectorError(Platform: core)[UISref -> UIRouter]:
NullInjectorError: No provider for UIRouter!
at NullInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:36417:27)
at resolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51335:24)
at tryResolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51261:16)
at StaticInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:51111:20)
at resolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51335:24)
at tryResolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51261:16)
at StaticInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:51111:20)
at resolveNgModuleDep (https://localhost:3000/cmep/lib/vendor-es2015.js:62298:29)
at NgModuleRef_.get (https://localhost:3000/cmep/lib/vendor-es2015.js:63364:16)
at resolveDep (https://localhost:3000/cmep/lib/vendor-es2015.js:63895:45) NullInjectorError: StaticInjectorError(AppModule)[UISref -> UIRouter]:
StaticInjectorError(Platform: core)[UISref -> UIRouter]:
NullInjectorError: No provider for UIRouter!
at NullInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:36417:27)
at resolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51335:24)
at tryResolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51261:16)
at StaticInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:51111:20)
at resolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51335:24)
at tryResolveToken (https://localhost:3000/cmep/lib/vendor-es2015.js:51261:16)
at StaticInjector.get (https://localhost:3000/cmep/lib/vendor-es2015.js:51111:20)
at resolveNgModuleDep (https://localhost:3000/cmep/lib/vendor-es2015.js:62298:29)
at NgModuleRef_.get (https://localhost:3000/cmep/lib/vendor-es2015.js:63364:16)
at resolveDep (https://localhost:3000/cmep/lib/vendor-es2015.js:63895:45)
api.onUnhandledError @ zone-evergreen.js:651
handleUnhandledRejection @ zone-evergreen.js:675
api.microtaskDrainDone @ zone-evergreen.js:668
drainMicroTaskQueue @ zone-evergreen.js:566
invokeTask @ zone-evergreen.js:469
invokeTask @ zone-evergreen.js:1603
globalZoneAwareCallback @ zone-evergreen.js:1640

@ronyf
Copy link

ronyf commented Jul 25, 2020

@Js4Life any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants