2π
β
It looks like your version of Laravel Mix is out-of-date; there was a bug fixed in March 2017 that addressed this issue on newer versions of webpack.
You can update your version of Laravel Mix by either doing this:
npm uninstall laravel-mix && npm install --save-dev laravel-mix
or updating your package.json
file to change the version for laravel-mix
...
"devDependencies": {
...
"laravel-mix": "^0.11.4",
...
}
...
After changing the version number, run npm update
.
π€Chris Forrence
Source:stackexchange.com