Describe the bug
Trying to load a component that has ngx-stripe (StripeService) in it, and it throws an error:
ERROR NullInjectorError: R3InjectorError(AppModule)[StripeService -> StripeService -> StripeService]: NullInjectorError: No provider for StripeService!
Using Angular 13, it worked a few months ago, and the same code suddenly stopped working for me. I have not detected any changes that relate to this component or libraries.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows
Browser Chrome
Version 108.0.5359.99
Additional context
I have checked that I have NgxStripeModule.forRoot in the module.
Describe the bug Trying to load a component that has ngx-stripe (StripeService) in it, and it throws an error:
ERROR NullInjectorError: R3InjectorError(AppModule)[StripeService -> StripeService -> StripeService]: NullInjectorError: No provider for StripeService!
Using Angular 13, it worked a few months ago, and the same code suddenly stopped working for me. I have not detected any changes that relate to this component or libraries.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
NgxStripeModule.forRoot
in the module.