Open JessicaMouta opened 4 years ago
Hi there,
You're on a pretty old version of Angular there. There's this line in the readme of this lib:
This library is built to work with Angular 5+, and support ahead-of-time compilation. If you need to support an earlier or pre-release version of Angular for now, please see the changelog for advice on which version to use.
So to support Angular 4 you'll need version 3.3.1: https://github.com/michaelbromley/ngx-pagination/blob/master/CHANGELOG.md#331-2019-06-12
error in ng serve ERROR in Error: Metadata version mismatch for module /../node_modules/ngx-pagination/dist/ngx-pagination.d.ts, found version 4, expected 3, resolving symbol AppModule in /../src/app/app.module.ts
Angular version:^4.0.0
ngx-pagination version: ^5.0.0
Description of issue:
Steps to reproduce:
Expected result:
Actual result:
Demo: (if possible, edit this StackBlitz demo and paste the link to your fork)
Any relevant code: