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 version mismatch for module #397

Closed
andreroggeri opened this issue Nov 21, 2017 · 5 comments
Closed

Metadata version mismatch for module #397

andreroggeri opened this issue Nov 21, 2017 · 5 comments

Comments

@andreroggeri
Copy link

andreroggeri commented Nov 21, 2017

I'm submitting a ...

[X] Bug report 
[ ] Feature request
[ ] Support request => Please do not submit a support request here, please ask on https://stackoverflow.com/

Bug description / Feature request

It's not possible to upgrade to 0.22.0. The build fails with the following error:

ERROR in Metadata version mismatch for module E:/Projetos/angular-calendar-test/node_modules/angular-calendar/index.d.ts, found version 4, expected 3

Minimal reproduction of the problem with instructions

  • Start a new angular 4 application using angular-cli
  • Install angular-calendar
  • Add the import to the CalendarModule in the app.module
  • ng serve

Versions

Angular: 4.4.6

Calendar library: 0.22.0

Browser name and version: N/A

@kittisakjitmon
Copy link

have a same problem

@mattlewis92
Copy link
Owner

Ah, it looks like apps compiled with angular 5 don't work with angular 4, the workaround is to either upgrade to angular 5 (should be as simple as updating your package.json file) or stick with 0.21.x for now, as I don't have time to revert all the angular 5 changes right now.

@andreroggeri
Copy link
Author

Do you plan to support Angular 4 or the 0.21.X version is the last to do it ?

Maybe we could add a note in the changelog or in the readme for this

@mattlewis92
Copy link
Owner

It was a mistake, 0.22 should support angular 4.

@mattlewis92
Copy link
Owner

Cutting 0.22.1 now 😄

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

3 participants