roots / sage

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
https://roots.io/sage/
MIT License
12.74k stars 3.06k forks source link

Imagemin-SVGO is throwing error in Gulp #1866

Closed schutzsmith closed 7 years ago

schutzsmith commented 7 years ago

What is the current behavior?

Imagemin-SVGO has been updated to 5.2.1 and now throws error breaking Gulp. More at https://github.com/imagemin/imagemin/issues/237

What is the expected or desired behavior?

Gulp commands previously were working fine.


Bug report

Please provide steps to reproduce, including full log output:

Install new Sage 8.x theme. Run npm install, bower install, then run any gulp command.

Please describe your local environment:

WordPress version: latest

OS: 10.11.6

NPM/Node version: 3.10.8

Where did the bug happen? Development or remote servers?

Dev

Is there a related Discourse thread or were any utilized (please link them)?

No

JulienMelissas commented 7 years ago

Have you tried updating node? https://github.com/imagemin/imagemin/issues/237#issuecomment-290368841

S8nsick66 commented 7 years ago

I couldn't upgrade Node so I edited package.json in the theme folder:

"gulp-imagemin": "^2.4.0",