core: StaticInjectorError
due to @uirouter/core
update
#3603
Labels
10.x
Stark version
comp: stark-ui
dependencies
Pull requests that update a dependency file
type: bug
Milestone
I'm submitting a...
Current behavior
When building the showcase in "prod" mode then running
server:prod
, we get the following error when we access the application.It seems there is an issue with the preloading states (
starkPreloadingStateName
).This error appeared after a fix made for the issue: ui-router/core#822.
The fix has been made to improve support for Angular > v12.
We got the new version because of the dependencies of
@uirouter/angular
v5.0.0. It has the following dependencies:Fixing the version to
"@uirouter/core":"9.0.9"
in stark-core, besides@uirouter/angular
seems to fix this issue.Expected behavior
Fix production build based on Stark 10.x.
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: