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 error with version 1.4.9 #219

Closed
rahultokase opened this issue Dec 28, 2017 · 10 comments
Closed

MetaData version mismatch error with version 1.4.9 #219

rahultokase opened this issue Dec 28, 2017 · 10 comments

Comments

@rahultokase
Copy link

rahultokase commented Dec 28, 2017

HI
With the latest version of [email protected] and angular 4 application I am getting metadata version mismatch error for this module

C:/mywork/Personnel/mystuff/thirdparty/engage/node_modules/ngx-ui-switch/index.d.ts, found versio
n 4, expected 3,

I am using angular cli 1.4.5 version.

can you please share the dependency (that now depends on Angular 5) to the prior version that is compatible with Angular 4. ?

@cmckni3
Copy link
Collaborator

cmckni3 commented Dec 28, 2017

Try ngx-ui-switch version 1.4.4

@rahultokase
Copy link
Author

Thanks its working fine . Just a one suggestion cant we have 1.5.X version for angular 5 and 1.4.X version for angular 4.

@cmckni3
Copy link
Collaborator

cmckni3 commented Dec 28, 2017

I agree that it's confusing. Really 1.4.x should work on 2+ but that isn't the case due to how the Angular compiler works.

I will make a note of this for future releases.

@cmckni3
Copy link
Collaborator

cmckni3 commented Feb 26, 2018

I deprecated 1.4.5-1.4.9 and switched to 2.0.0 for Angular v5. I am updating the documentation right now as well. Angular v4 is now ngx-ui-switch@^1.5.0

@cmckni3
Copy link
Collaborator

cmckni3 commented Feb 26, 2018

Documentation updated

@aviaur
Copy link

aviaur commented Mar 5, 2018

Sorry but it doesn't work ngx-ui-switch 1.5.0 with Angular4...
ERROR in Error: Metadata version mismatch for module ...... found version 4, expected 3 ......

With version 1.4.4 it works.

@cmckni3
Copy link
Collaborator

cmckni3 commented Mar 5, 2018

ugh I'll install ng 4 again and see what the issue is.

Your versions all aligned to the same version of 4 right @aviaur?

@aviaur
Copy link

aviaur commented Mar 5, 2018

Yes I am on version 4.4.6 of Angular

@cmckni3
Copy link
Collaborator

cmckni3 commented Mar 5, 2018

Try 1.6.0 @aviaur. I downgraded ts-node and some other dependencies to what it was on 1.4.4. I also tried it in a sample app using ng 4.4.6.

@aviaur
Copy link

aviaur commented Mar 6, 2018

It's OK now
thx :-)

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