gulp img,html压缩,一直出错? 求大神指点~~
发布于 9 年前 作者 hdbaiyu 5637 次浏览 最后一次编辑是 8 年前 来自 问答

以下报错 D:\code\dashboard>gulp images [15:37:00] Using gulpfile D:\code\tenxdashboard\gulpfile.js [15:37:00] Starting 'images’… events.js:85 throw er; // Unhandled ‘error’ event ^ Error: write EPIPE at exports._errnoException (util.js:746:11) at Socket._writeGeneric (net.js:690:26) at Socket._write (net.js:709:8) at doWrite (_stream_writable.js:301:12) at writeOrBuffer (_stream_writable.js:288:5) at Socket.Writable.write (_stream_writable.js:217:11) at Socket.write (net.js:634:40) at Socket.Writable.end (_stream_writable.js:449:10) at Socket.end (net.js:415:31) at Through2._transform (D:\code\dashboard\node_modules\gulp-imagemin\node_modules\imagemin\node_modules\imagemin-gifsicle\index.js:64:12)

2 回复

是纯 html 吗?每太看明白,是压缩图片出错,还是html出错?

不是,是ejs模板。 untitled1.png 下面是报错图 untitled2.png img: untitled3.png img error untitled5.png

回到顶部