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

Metadata Mismatch With New Version? #305

Closed
mstruppBE opened this issue Jun 11, 2019 · 3 comments
Closed

Metadata Mismatch With New Version? #305

mstruppBE opened this issue Jun 11, 2019 · 3 comments

Comments

@mstruppBE
Copy link

With the latest version of ngx-pagination installed, we're getting the following error when we attempt to build our project using Angular CLI:

ERROR in Metadata version mismatch for module C:/Users//Source/Repos//node_modules/ngx-pagination/dist/ngx-pagination.d.ts, found version 4, expected 3,

We are using Angular version 4.0.2, and attempting to use ngx-version 3.3.0

Any clue on how to fix this? Thanks!

@michaelbromley
Copy link
Owner

Hi,

Oh, I guess this has to do with the fact that I built the new version with Angular 8. I did try to find out if there was any incompatibility with the metadata but did not find anything, and assumed it would be ok.

I suggest you revert to 3.2.1 for now until I have time to investigate further.

@michaelbromley
Copy link
Owner

Ah it looks like between Angular v4 (which was used to build v3.2.1 of this lib) and v5 they changed the metadata format.

I should have made this a major release since it is now a breaking change. I will do this tomorrow.

@michaelbromley
Copy link
Owner

Please try updating to v3.3.1 and see if that resolves the issue for you.

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