asciidisco / grunt-imagine

Grunt tasks for optimizing & inlining images
MIT License
153 stars 21 forks source link

Fatal error: write EPIPE: Mac OS #67

Closed shawnthompson closed 8 years ago

shawnthompson commented 8 years ago

We are running grunt-imagine to create sprites for the Web Experience Toolkit and we are getting the following error when we run grunt.

Running "sprites:share" (sprites) task
Fatal error: write EPIPE

This only happens on Mac OSX and I think it's since the update to OSX Sierra.

I've tried it with 2 difference Macs running Sierra and I get the same error. I've tried different versions of node using nvm and they all give the same error.

I was successful in building our project on two different Windows systems (Win7 and Win10), as well as a Linux machine running Ubuntu.

I haven't been able to test on an older version of OSX but the build was working fine until I updated to Sierra.

Any help would be gratefully appreciated.

cc/ @LaurentGoderre, @lucas-hay, @MaximMartel

shawnthompson commented 8 years ago

Update: Tested the build on Mac OSX 10.11.4 with no errors.

shawnthompson commented 8 years ago

Thanks to @nschonni who figured this out. Could you update the version of PhantomJS to the latest?