chenzhutian / hexo-all-minifier

A plugin for Hexo that optimizes HTML, CSS, JS and imagages, and it can optionally deploys your blog.
MIT License
277 stars 30 forks source link

GatLab CI error: write EPIPE #51

Closed leewp14 closed 6 years ago

leewp14 commented 6 years ago

image Any idea? Using GitLab CI (runner)

izhixing commented 6 years ago

I meet the same problem in Travis CI

chenzhutian commented 6 years ago

Could you please provide more info? For example the node version

leewp14 commented 6 years ago

raw.txt attached is the output of runner. node version is 6.10.0 as stated in above log file.

maple3142 commented 6 years ago

Also happened in travis-ci. logs

chenzhutian commented 6 years ago

@maple3142 @InitNext @leewp14 This bug may be related to this issues of imagemin-mozjpeg https://github.com/imagemin/imagemin-mozjpeg/issues/28 It can be fixed by sudo apt-get install libpng16-dev. However, the libpng16-dev is not in the whitelist of Travis-CI so that it cannot be installed during the building. To fix it, please change the os in your travis.yml file to os: osx (And then maybe you need to install libpng16-dev before the CI starting to build. I am not sure because I'm not familiar with osx)