当我运行gulp
命令时,出现以下错误:
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$
当我从imagemin
gulpfile.js
任务时
.pipe(imagemin({
progressive: true,
interlaced: true,
svgoPlugins: [{removeUnknownsAndDefaults: false}, {cleanupIDs: false}]
}))
错误消失了,所有其他任务都没有错误地执行,但当然,图像不会缩小。
我正在使用最新版本的OSX Captain。
这个问题可能是什么原因?