In my production Ubuntu server which version is 16.04.3 LTS,after push my code to it,I run

1
yarn prod

but it show me a error notice

1
2
3
4
ERROR in ./resources/assets/js/mobile/pages/Home/images/banner-oath.jpg
Module build failed: Error: write EPIPE
at _errnoException (util.js:992:11)
at WriteWrap.afterWrite [as oncomplete] (net.js:864:14)

after search by google,this link solve my problem
install libpng16-dev in server

1
sudo apt-get install libpng16-dev

then, it is all fine.