Hi @torch
When you say
After some while
Do you mean that you run npm run dev and then it complains, or does it complain just out of the blue?
To avoid any funny browser cache issues make sure to add at the end of your webpack file .version()
const mix = require('laravel-mix');
mix.js('resources/js/app.js', 'public/js/app.js')
.less('resources/less/app.less', 'public/css/app.css')
.version()
This will create new file for each compile and reference it from your blade like so:
<link rel="stylesheet" type="text/css" href="{{ mix('/css/app.css') }}">
<script src="{{ mix('/js/app.js') }}"></script>
That way you are busting cache each time you build your files.
Try if this will work.