ERROR in ./node_modules/admin-lte/dist/img/boxed-bg.jpg
See original GitHub issueI run npm run prod which is:
cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
Using npm 5.6.0
app.scss
@import "~admin-lte/dist/css/AdminLTE.css";
@import "~admin-lte/dist/css/skins/_all-skins.css";
error in ./node_modules/admin-lte/dist/img/boxed-bg.jpg
remote:
remote: Module build failed: Error: write EPIPE
remote: at _errnoException (util.js:1022:11)
remote: at WriteWrap.afterWrite [as oncomplete] (net.js:867:14)
remote:
remote: @ ./node_modules/css-loader??ref--8-2!./node_modules/postcss-loader/lib??postcss!./node_modules/admin-lte/dist/css/AdminLTE.css 7:782-812
remote: @ ./node_modules/css-loader??ref--8-2!./node_modules/postcss-loader/lib??postcss!./node_modules/resolve-url-loader??ref--8-4!./node_modules/sass-loader/lib/loader.js??ref--8-5!./resources/assets/sass/app.scss
remote: @ ./resources/assets/sass/app.scss
ERROR in ./node_modules/admin-lte/dist/img/boxed-bg.jpg
remote: Module build failed: Error: write EPIPE
remote: at _errnoException (util.js:1022:11)
remote: at WriteWrap.afterWrite [as oncomplete] (net.js:867:14)
remote: @ ./node_modules/css-loader??ref--8-2!./node_modules/postcss-loader/lib??postcss!./node_modules/admin-lte/dist/css/AdminLTE.css 7:782-812
remote: @ ./node_modules/css-loader??ref--8-2!./node_modules/postcss-loader/lib??postcss!./node_modules/resolve-url-loader??ref--8-4!./node_modules/sass-loader/lib/loader.js??ref--8-5!./resources/assets/sass/app.scss
remote: @ ./resources/assets/sass/app.scss
remote: @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss
How can I fix this boxed-bg.jpg problem? I can’t push on production due to this.
It seems this part is the issue:
.layout-boxed {
background: url('../img/boxed-bg.jpg') repeat fixed;
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
How to Fix JPG File not Opened as Have no Permission?
In this episode, we have discussed three different methods to fix the JPG files that cannot be opened due to a lack of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can solve this by setting
processCssUrls
tofalse
:Try to run
npm
with--no-bin-links
option, it helped to me.