Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Fatal error: write EPIPE #40

Open
lrobeson opened this issue May 30, 2017 · 6 comments
Open

Fatal error: write EPIPE #40

lrobeson opened this issue May 30, 2017 · 6 comments

Comments

@lrobeson
Copy link

Running this inside a Vagrant machine, I get this:

Rasterizing SVG to PNG (20 files)...
0% [                      ] 0.00% (0.1s) Fatal error: write EPIPE

Any ideas?

@dan-peterson
Copy link

Ran in to the same thing here and after poking around the root problem seemed to be PhantomJS.

I noticed NPM was installing a 1x version of PhantomJS as a dependency for grunt-svg2png, even though the package.json published here lists the dependency at: "~2.1.7".

When I had a closer look, it seemed NPM was installing an older version of grunt-svg2png that lists it's phantomJS dependency at: "~1.9.0". (even with a clean npm cache)

If you do a direct download from NPM: https://registry.npmjs.org/grunt-svg2png/-/grunt-svg2png-0.2.7.tgz You'll see the dependencies are off.

As a hot fix I updated my package.json to point directly to the github repo and the problem has been resolved. "grunt-svg2png": "https://github.com/dbushell/grunt-svg2png.git"

@craigjmidwinter
Copy link

Thanks Dan!

@phyrexian
Copy link

@dan-peterson Thanks; this worked for me!

@RyanKlann
Copy link

Amazing!

@bmartel
Copy link

bmartel commented Dec 20, 2017

It works! Thanks Dan!

@hashar
Copy link

hashar commented Feb 27, 2018

So it seems that is fixed by 206065d and grunt-svg2png can probably deserve a new version to be tagged :]

hashar referenced this issue Feb 27, 2018
increase phantomjs version
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants