sindresorhus / gulp-imagemin

Minify PNG, JPEG, GIF and SVG images
MIT License
1.9k stars 157 forks source link

Couldn't load default plugin "opting" #353

Open RobiulMan opened 3 years ago

RobiulMan commented 3 years ago

I'm getting this issue how does fix that I saw a few solving on StackOverflow but those were a pretty much old post

[04:55:45] gulp-imagemin: Couldn't load default plugin "opting" node -v v13.14.0 gulp -v CLI version: 2.3.0 Local version: 4.0.2 gulp-imagemin: 7.1.0

If anyone knows the solve please let me know

cullenbohannon commented 3 years ago

Same on node 14.15 I tried to install multiple dependencies, but nothing seems to fix it.

Just a note, I'm on the Apple M1 chip

robinparisi commented 2 years ago

I think it's related to Apple M1 chip (compared on two mac mini, same node version 14.18.1, works on Intel but failed on M1)

querkmachine commented 2 years ago

Is this just a typo? The plugin is named "optipng", not "opting".

Vitor-ext commented 11 months ago

Tente reinstalar as bibliotecas e caso necessário realize o downgrade das bibliotecas

npm install imagemin-jpegtran imagemin-svgo imagemin-gifsicle imagemin-optipng --save