assets-generator icon indicating copy to clipboard operation
assets-generator copied to clipboard

Update Sharp Dependency to Support Bun

Open MehrdadKhnzd opened this issue 1 year ago • 5 comments

Hi,

You're using [email protected] which doesn't work with the Bun runtime. Please consider updating to >0.33 to fix the problem with Bun.

https://github.com/lovell/sharp/issues/3511

Thanks!

MehrdadKhnzd avatar Feb 18 '24 19:02 MehrdadKhnzd

+1

kelvindecosta avatar Mar 28 '24 16:03 kelvindecosta

you use latest (sharp and sharp-ico) using resolutions in your package.json, my OS is Windows, I cannot test/run bun on my local :cry:

userquin avatar Mar 28 '24 17:03 userquin

I tried to do so but I think this might be the problem: ssnangua/sharp-ico#1

Not entirely sure though...

kelvindecosta avatar Mar 31 '24 20:03 kelvindecosta

When using [email protected], the resolutions work perfectly!

kelvindecosta avatar Apr 01 '24 17:04 kelvindecosta

Also, the same needs for compatibility with Astro : https://github.com/vite-pwa/assets-generator/issues/46

EKliptus avatar May 18 '24 12:05 EKliptus