You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using laravel-elixir-imagemin 0.2.3 with imagemin-svgo 5.2.0 the below error occurs:
/Users/brian/Sites/ddos/node_modules/is-svg/index.js:8
var charCode = isBuf ? buf[i] : buf.charCodeAt(i);
^
TypeError: Cannot read property 'charCodeAt' of undefined
at isBinary (/Users/brian/Sites/ddos/node_modules/is-svg/index.js:8:38)
at module.exports (/Users/brian/Sites/ddos/node_modules/is-svg/index.js:19:10)
at buf (/Users/brian/Sites/ddos/node_modules/imagemin-svgo/index.js:8:7)
at Imagemin.use (/Users/brian/Sites/ddos/node_modules/imagemin/index.js:63:51)
at DestroyableTransform.through.obj.percent (/Users/brian/Sites/ddos/node_modules/gulp-imagemin/index.js:47:5)
at DestroyableTransform._transform (/Users/brian/Sites/ddos/node_modules/through2-concurrent/through2-concurrent.js:30:15)
at DestroyableTransform.Transform._read (/Users/brian/Sites/ddos/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:159:10)
at DestroyableTransform.Transform._write (/Users/brian/Sites/ddos/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:147:83)
at doWrite (/Users/brian/Sites/ddos/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:313:64)
at writeOrBuffer (/Users/brian/Sites/ddos/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:302:5)
If I downgrade imagemin-svgo to ^4.2.0 everything works.
The text was updated successfully, but these errors were encountered:
When using laravel-elixir-imagemin 0.2.3 with imagemin-svgo 5.2.0 the below error occurs:
If I downgrade imagemin-svgo to ^4.2.0 everything works.
The text was updated successfully, but these errors were encountered: