ngx-pagination icon indicating copy to clipboard operation
ngx-pagination copied to clipboard

Error with Angular 11.2.13

Open rasa-app opened this issue 3 years ago • 0 comments

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:


rasa-app avatar May 11 '21 08:05 rasa-app