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

Error with Angular 11.2.13 #376

Open
rasa-app opened this issue May 11, 2021 · 0 comments
Open

Error with Angular 11.2.13 #376

rasa-app opened this issue May 11, 2021 · 0 comments

Comments

@rasa-app
Copy link

Hi, thank you for your work!

I faced problem using ngx-pagination.

Angular version:^11.2.13

ngx-pagination version:^5.1.0

Description of issue:
When I import NgxPaginationModule to NgModule of my project it compiles successfully but at runtime I get this error at console:

Uncaught Error: Can't resolve all parameters for PaginationControlsDirective: (?, ?)
at syntaxError (compiler.js:formatted:17373)
at CompileMetadataResolver._getDependenciesMetadata (compiler.js:formatted:1)
at CompileMetadataResolver._getTypeMetadata (compiler.js:formatted:1)
at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (compiler.js:formatted:1)
at CompileMetadataResolver.loadDirectiveMetadata (compiler.js:formatted:1)
at compiler.js:formatted:1
at Array.forEach ()
at compiler.js:formatted:1
at Array.forEach ()
at JitCompiler._loadModules (compiler.js:formatted:1)

Steps to reproduce:

  1. Import NgxPaginationModule to your project
  2. Add it to your imports: []
  3. Compile
  4. Run
  5. You can see error at console

Expected result:
Project run successfully

Actual result:
Project fails

Demo: (if possible, edit this StackBlitz demo and paste the link to your fork)

Any relevant code:


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

1 participant