We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow. See http://bit.ly/UIR-SOF for details.
This is a (check one box):
My version of UI-Router is: (type version) @uirouter/angular: 10.0.0 @uirouter/core: 6.0.8 @uirouter/rx: 1.0.0
I am injecting the StateService in a component of a custom angular library I am building. As soon as I do that though, the following happens:
R3InjectorError(AppModule)[StateService -> StateService -> StateService]: NullInjectorError: No provider for StateService!
and the whole app does not work.
No error, being able to use the Service and not crashing the whole application.
Github-Repo: https://github.com/Vortilion/angular-library-stateservice-issue
The text was updated successfully, but these errors were encountered:
Hi, I had the same problem when running unit tests on my Angular 15 application. Here is the solution I found to add in configureTestingModule(...)
configureTestingModule(...)
providers: [ StateService ],
Sorry, something went wrong.
No branches or pull requests
This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow.
See http://bit.ly/UIR-SOF for details.
This is a (check one box):
My version of UI-Router is: (type version)
@uirouter/angular: 10.0.0
@uirouter/core: 6.0.8
@uirouter/rx: 1.0.0
Bug Report
Current Behavior:
I am injecting the StateService in a component of a custom angular library I am building. As soon as I do that though, the following happens:
and the whole app does not work.
Expected Behavior:
No error, being able to use the Service and not crashing the whole application.
Link to Plunker or stackblitz that reproduces the issue:
Github-Repo: https://github.com/Vortilion/angular-library-stateservice-issue
The text was updated successfully, but these errors were encountered: