-
Notifications
You must be signed in to change notification settings - Fork 245
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 PaginationService! #366
Comments
Hi, Please provide at least some code of your NgModule where you are using this library. |
I have the same issue but using ngx-easy-table. |
You need to import 'TableModule' in the app.module.ts as well as any other specific modules making use of the library, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Angular version:
"@angular/cdk": "^9.0.0",
ngx-pagination version:
"ngx-pagination": "^5.0.0",
Description of issue:
I already have a module using ngx-pagination, when I create other module to use ngx-pagination into a new component I got this error
ERROR Error: NullInjectorError: No provider for
PaginationService!`Steps to reproduce:
Import ngx-module but error appears
Where I should import
PaginationService
?Greetings
The text was updated successfully, but these errors were encountered: