dbushell/grunt-svg2png

Fatal error: spawn EACCES

Opened this issue · 1 comments

I got this error all of a sudden when running svg2png. I've used the plugin before with the same settings without any issues so I'm not certain why it has started showing.

Here is the error:

Running "svg2png:all" (svg2png) task
Verifying property svg2png.all exists in config...OK
Files: assets/img/image1.svg, assets/img/image2.svg, assets/img/image3.svg, assets/img/image4.svg -> assets/img/

Rasterizing SVG to PNG (4 files)...
0% [ ] 0.00% (0.0s) Fatal error: spawn EACCES

I did a Google which suggested it's a permissions error, but I've got access to write to the assets/img folder as other image compression plugins are able to.

Any ideas of what could be causing the error?

Cheers
Mark

I'm looking into kind of the same thing, and I found this: Medium/phantomjs#73