Laravel: 6.18.3 laravel-mix: 4.1.4 node 12.17.0 npm 6.14.4
It seems that the cause is that Laravel Mix was upgraded from 4.0 to 4.1.
The following measures.
Disable shared folders.
Downgraded Laravel Mix to 4.0.
Build from host machine → When building, it may be necessary to delete node_modules once and re-install npm locally?
Describe the part using url () in the scss file with an absolute path instead of a relative path.
Added .options ({processCssUrls: false}); to webpack.mix.js.
webpack.js
const mix = require('laravel-mix');
require('laravel-mix-polyfill');
mix.~~~
//Add the following.
.options({ processCssUrls: false });
Recommended Posts