rleecrewmp's avatar

Error on server when compiling assets

I can compile just fine on my local dev computer but when I try to run the same build commands on the server, I get this error:

ERROR in ./resources/assets/images/guitar_bg.jpg
Module build failed: Error: write EPIPE
    at _errnoException (util.js:1022:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:880:14)
 @ ./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/lib??postcss!./node_modules/resolve-url-loader??ref--5-4!./node_modules/sass-loader/lib/loader.js??ref--5-5!./resources/assets/sass/app.sass 7:142676-142710
 @ ./resources/assets/sass/app.sass
 @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.sass

and another error underneath that that is probably related:

ERROR in ./resources/assets/sass/app.sass
Module build failed: ModuleBuildError: Module build failed: Error: read ECONNRESET

Pngs seem to be fine but it's this one jpg. Any thoughts?

0 likes
2 replies
rleecrewmp's avatar

@AhimbisibweRoland Unfortunately giving it the same permissions as the PNGs did not solve the issue. Any other ideas or things I can try?

Please or to participate in this conversation.