-1๐
โ
So these are the possible solutions may try.
-
you need to update your node
-
you need to update your npm
-
make sure your app.js is compiling properly, this is the one that happened to me.
UPDATED ANSWER
mix.copy('node_modules/jquery/dist/jquery.min.js', 'resources/assets/js');
mix.copy('node_modules/jquery-ui-bundle/jquery-ui.min.js', 'resources/assets/js');
mix.copy('node_modules/bootstrap/dist/js/bootstrap.min.js', 'resources/assets/js');
mix.copy('node_modules/jquery-ui-bundle/jquery-ui.min.css', 'resources/assets/css');
/*bootstrap*/
mix.sass('resources/assets/sass/app.scss', 'public/css');
/*js files*/
mix.js(
['resources/assets/js/jquery.min.js',
'resources/assets/js/jquery-ui.min.js',
'resources/assets/js/bootstrap.min.js']
, 'public/js/app.js');
/*other css*/
mix.combine([
'resources/assets/css/jquery-ui.min.css'
], 'public/css/combined.css');
/*vue components*/
mix.js(
['resources/assets/js/app.js'],
'public/js/components.js'
);
๐คRabb-bit
Source:stackexchange.com