dbushell / grunt-svg2png

Grunt plugin to rasterize SVG to PNG images using PhantomJS
MIT License
76 stars 37 forks source link

Fatal error: spawn EACCES #2

Open markgoodyear opened 11 years ago

markgoodyear commented 11 years ago

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

Eworm commented 10 years ago

I'm looking into kind of the same thing, and I found this: https://github.com/Obvious/phantomjs/issues/73