Ng-lazyload-image: Issue after upgrade to 3.3.4

Created on 6 Nov 2017  ·  10Comments  ·  Source: tjoskar/ng-lazyload-image

Uncaught Error: Unexpected value 'LazyLoadImageModule' imported by the module 'xxxxxxParentModule'. Please add a @NgModule annotation.
at syntaxError (compiler.es5.js:1694)
at compiler.es5.js:15398
at Array.forEach ()

Using angular4 and probably it is only support angular5 now

bug

Most helpful comment

My bad. Sorry about it.
Until I fix it, please install 3.3.3: npm install [email protected]

All 10 comments

Hi,

I've the same issue.

Hi,

During ng serve (Angular 4)

ERROR in Error: Metadata version mismatch for module .../node_modules/ng-lazyload-image/index.d.ts, found version 4, expected 3, resolving symbol ...

Probably same issue. Reverting back to version 3.3.3 solves problem.

Same for me!

My bad. Sorry about it.
Until I fix it, please install 3.3.3: npm install [email protected]

Using angular4 and probably it is only support angular5 now

Yeah, that seems to be it. @mtshare, @SquallX Are you also running Angular 4?

Same here, and yes Angular 4

Yeah, that seems to be it. @mtshare, @SquallX Are you also running Angular 4?

Yes, I'm on Angular 4.4.4.
Downgraded to 3.3.3 currently.

I had the same issue with Angular 5.

I just published 3.3.5. It should work with Angular >= 2. Can anyone try it out and give me some feedback. Thanks.

@tjoskar 3.3.5 fixed my issue. thx.

Was this page helpful?
0 / 5 - 0 ratings