3

When I run the gulp command I get the following error:

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at Object.exports._errnoException (util.js:874:11)
    at exports._exceptionWithHostPort (util.js:897:20)
    at WriteWrap.afterWrite (net.js:763:14)
Velibors-MacBook-Pro:gulp3 vel$ 

And when I remove the imagemin task from the gulpfile.js

.pipe(imagemin({
      progressive: true,
      interlaced: true,
      svgoPlugins: [{removeUnknownsAndDefaults: false}, {cleanupIDs: false}]
    }))

the error is gone and all other tasks execute without errors, but of course, the images are not minified.

I am running on the latest version of OSX Captain.

What could be the reason for this issue?

Goran Stoyanov
  • 2,311
  • 1
  • 21
  • 31
Velibor Nikolic
  • 239
  • 3
  • 15

0 Answers0