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

NullInjectorError: No provider for e! - @ngx-loading-bar/http-client #187

Closed
manish-techlect opened this issue Apr 25, 2021 · 1 comment
Closed

Comments

@manish-techlect
Copy link

Did exactly described in readme file for @ngx-loading-bar/http-client.
Also works perfectly when 'ng serve', but get a below issue when 'ng build --prod'.
Note: The build is working fine when created by 'ng build'.

ERROR NullInjectorError: StaticInjectorError(s)[Ol -> e]:
StaticInjectorError(Platform: core)[Ol -> e]:
NullInjectorError: No provider for e!

@manish-techlect manish-techlect changed the title NullInjectorError: No provider for e! - ngx-loading-bar NullInjectorError: No provider for e! - @ngx-loading-bar/http-client Apr 26, 2021
@aitboudad
Copy link
Owner

Hi, could you please provide a reproduction?
here is a starting example https://stackblitz.com/edit/angular-sypacw

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