Skip to content
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

Yarn & gulp & gulp-imagemin: Couldn't load default plugin * #232

Closed
emrecamasuvi opened this issue Nov 2, 2016 · 4 comments
Closed

Yarn & gulp & gulp-imagemin: Couldn't load default plugin * #232

emrecamasuvi opened this issue Nov 2, 2016 · 4 comments

Comments

@emrecamasuvi
Copy link

emrecamasuvi commented Nov 2, 2016

Hi,
After upgrading to both node v.7.0 and gulp-imagemin to 3.1.0; began getting these errors as follows;

[10:31:10] Using gulpfile ... \gulpfile.js
[10:31:10] Starting 'imagemin'...
[10:31:10] Finished 'imagemin' after 10 ms
[10:31:10] gulp-imagemin: Couldn't load default plugin "gifsicle"
[10:31:10] gulp-imagemin: Couldn't load default plugin "jpegtran"
[10:31:10] gulp-imagemin: Couldn't load default plugin "optipng"
[10:31:10] gulp-imagemin: Couldn't load default plugin "svgo"
...
[10:31:10] gulp-imagemin: Minified 55 images (saved 0 B - 0%)

PC Microsoft Windows 10 Pro Insider Preview
node v.7.0
yarn v.0.16.1
gulp-imagemin v.3.1.0

@emrecamasuvi
Copy link
Author

Moving those optional dependencies referenced in #221 to "dependencies" resolved the problem but this doesnt seem like a clean solution to me.

And also i got this in my console;

gulp imagemin
[10:40:25] Using gulpfile ... \gulpfile.js
[10:40:25] Starting 'imagemin'...
[10:40:25] Finished 'imagemin' after 12 ms
(node:14252) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit
[10:40:39] gulp-imagemin: Minified 55 images (saved 545 kB - 10.7%)

@anuraag279
Copy link

+1

@sindresorhus
Copy link
Owner

Open an issue on Yarn.

@anthonygilbertt
Copy link

why was this closed? this doesn't address the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants