-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crashed due to could not load default plugin mozjpeg
and no images minfied
#380
Comments
I'm on Windows 11. Latest version of imagemin and gulp. Getting the same error myself. I've tried so many different combinations of code to see if it's something on my end, but this does seem to be a bug. My error log:
|
it's work for me, if you are use cnpm. in package.json, you should remove optipng-bin, gulp-imagemin then run this:
|
I have the same problem for Windows 10.
I used the last version "gulp-imagemin": "^9.0.0", and "pngquant-bin": "^8.0.1", |
as titled.
My problem was like #377, but I correctly import the modules needed as shown in the gulp ESM.
my gulpfile.mjs
But gulp-imagemin still crashed with:
I tried to debug with
gulp-debug
and run again, and finally I gotgulp-imagemin: Could not load default plugin mozjpeg
, and no images within the folder was minfied.Does anybody has some solution for the issue?
The text was updated successfully, but these errors were encountered: