Open VadimDez opened 2 years ago
Same for gifsicle
!
@mathieutu
Same for
gifsicle
!
Temporary solution:
npm install pngquant-bin@6.0.1 --save
npm install gifsicle@5.2.1 --save
Yep, this is what I've done. 😉
@mathieutu
Temporary solution-2:
You can also download:
Binary for macOS (v2.17.0) Binary for Windows Package for Debian Various Linux packages
and replace in node_modules\pngquant-bin\vendor\pngquant.exe
for Windows as the example.
I can't upgrade these packages (gifsicle, pngquant-bin) to these versions, because they use ESModules and the compress-images
package is still using CommonJS
Found an issue, since version 7 of pngquant-bin they're using native ESM, using
pngquant-bin
v7+ will fail with: