dazuaz / responsive-loader

A webpack loader for responsive images
BSD 3-Clause "New" or "Revised" License
647 stars 74 forks source link

Ominous "cannot destructure property height" issue (with reproducable demo) #135

Closed FunctionDJ closed 3 years ago

FunctionDJ commented 3 years ago

The error: image

I've encountered the issue above and was able to replicate it in a minimalistic project you can checkout here: https://github.com/FunctionDJ/rl-test

I'm not sure who's the culprit here: responsive-loader, sharp, webpack or myself.

dazuaz commented 3 years ago

@FunctionDJ Hello,

This is due to a corrupt png

$ pngcheck test/icon.png                                                                                                                                                                                      
test/icon.png  CRC error in chunk iCCP (computed a2ee8208, expected 59869ddc)