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.
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
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",
+1
Having same issue. Using @angular/compiler: 4.0
+1
the same for me, works with v3.3.3 but v3.3.5 throws this error
+1
I just releated version 3.3.6
. Let me know if you still get this error messages.
3.3.6 fixed AOT thanks very much!