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

ERROR in Metadata version mismatch #227

Closed
sandeepdussa opened this issue Nov 13, 2017 · 9 comments
Closed

ERROR in Metadata version mismatch #227

sandeepdussa opened this issue Nov 13, 2017 · 9 comments

Comments

@sandeepdussa
Copy link

Hi,

I am facing the following error during the build process through webpack when using ng-lazyload-image version 3.3.5 but it's working fine with 3.3.3. Please take a look. Also, could you highlight any key differences between 3.3.3 and 3.3.5?

ERROR in Metadata version mismatch for module C:/Test/LazyLoadImage/node_modules/ng-lazyload-image/src/lazyload-image.directive.d.ts, found version 4, expected 3

Thanks.

@tjoskar
Copy link
Owner

tjoskar commented Nov 13, 2017

What version of Angular are you using? Especially @angular/compiler?
I upgraded Angular and typescript in version 3.3.4 and downgraded typescript in 3.3.5. It is probably related to some version change and also #222

@sandeepdussa
Copy link
Author

sandeepdussa commented Nov 13, 2017

Here are the angular dependencies of my app. For now, i have locked the ng-lazyload-image version to 3.3.3 to keep the build stable.

"angular/common": "4.1.3",
"angular/compiler": "4.1.3",
"angular/core": "4.1.3",
"angular/forms": "4.1.3",
"angular/http": "4.1.3",
"angular/platform-browser": "4.1.3",
"angular/platform-browser-dynamic": "4.1.3",
"angular/router": "4.1.3",
"angular/upgrade": "4.1.3",
"angular/compiler-cli": "4.1.3",
"angular/platform-server": "4.1.3",
"ng-lazyload-image": "3.3.3",

@calvinmuller
Copy link

+1

@suhmantha1
Copy link

Having same issue. Using @angular/compiler: 4.0

@ehdwns980416
Copy link

+1

@oplitnik
Copy link

the same for me, works with v3.3.3 but v3.3.5 throws this error

@AlexLomm
Copy link

+1

@tjoskar tjoskar added the bug label Nov 30, 2017
tjoskar pushed a commit that referenced this issue Dec 2, 2017
Downgrade angular to version 4. See
#227 for more info

This reverts commit 0c49841.
tjoskar pushed a commit that referenced this issue Dec 2, 2017
Downgrade angular to version 4. See
#227 for more info

This reverts commit 0c49841.
@tjoskar
Copy link
Owner

tjoskar commented Dec 2, 2017

I just releated version 3.3.6. Let me know if you still get this error messages.

@tjoskar tjoskar closed this as completed Dec 2, 2017
@shprink
Copy link

shprink commented Dec 4, 2017

3.3.6 fixed AOT thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants