Closed JbIPS closed 3 years ago
👋 Hi @JbIPS !
I haven't seen that error before, but based on the message I'm confident it's coming from Sharp (the library this plugin uses to process images).
A similar issue is reported on this Gatsby repo which also uses Sharp https://github.com/gatsbyjs/gatsby/issues/29041
I'd suggest having a look at that issue, and maybe also at the issues for Sharp to see if anyone else has resolved this.
Hi @liamfiddler,
I tried the "native" image plugin and got a similar error. Since it's also based on Sharp, I agree with you and I'll look over there to find a solution.
Thank you
In case anyone stumbles on this, I managed to prevent the segfault by manually pinning sharp to v0.30.3 in my package.json file (instead of letting npm install the latest sharp=0.31.1
version). This was using @11ty/eleventy=1.0.2
and eleventy-plugin-lazyimages=2.1.2
.
Hi, I just try to add this plugin in my Eleventy project but it breaks on build (looks like SVG to blame):
I'm not sure what I can tweak to get it to work (I didn't see any option that could help) so any lead would be welcome :smiley:.
Thank you