I'm getting the following error whenever I try to pipe an SVG sprite into svg2png.
throw new gutil.PluginError(PLUGIN_NAME, message);
^
Error: Error while converting image.Error: Unable to load the source file.
at error (/Users/.../node_modules/gulp-svg2png/index.js:59:15)
at converted (/Users/.../node_modules/gulp-svg2png/index.js:160:24)
at /Users/.../node_modules/gulp-svg2png/node_modules/svg2png/lib/svg2png.js:20:13
at ChildProcess.exithandler (child_process.js:742:7)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Socket.<anonymous> (child_process.js:1183:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:485:12)
I used gulp-print to see if the SVG was being passed through correctly and everything seems to be passing through fine.
I'm getting the following error whenever I try to pipe an SVG sprite into svg2png.
I used gulp-print to see if the SVG was being passed through correctly and everything seems to be passing through fine.
Here's the gulp task in all it's glory (I'm using gulp-svgsprite to generate the sprite):