Closed kr8n3r closed 5 years ago
I have also run into this issue and I am using node v6.2.2
Try to define size parameters. It should help.
return gulp.src(paths.src)
.pipe(svg2png({width: 300, height: 300}, true))
.pipe(gulp.dest(paths.dest))
surely not?
I've made a fix for this in my personal branch.
I have the same problem with version 2.0.0 and npm 2.15.5, every time I run the gulp task it shows to be "starting svg2png" but then it just crashes and no images get converted.
I installed gulp-svg2png@1.0.2 and the images get converted, if your workflow supports 1.0.2 it could act as a temporary solution until the fix gets released.
I'm getting this too, thank you @radu-tanasescu great idea.
[10:52:02] Starting 'svg2png'... [10:52:02] Finished 'svg2png' after 7.43 ms
node v 5.11.1