node -v): 10.15.3npm -v): 6.9.0Since version 4.1.3, when calling npm run dev, laravel mix always wants to install additional dependencies, without telling which ones. It finishes, but it's en endless loop.
output:
vagrant@fotogecko:~/code$ npm run dev
> @ dev /home/vagrant/code
> npm run development
> @ development /home/vagrant/code
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
Additional dependencies must be installed. This will only take a moment.
Running: npm install --save-dev --production=false
npm WARN [email protected] requires a peer of webpack@^1 || ^2 || ^3 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sass/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Okay, done. The following packages have been installed and saved to your package.json dependencies list:
Additional dependencies must be installed. This will only take a moment.
Running: npm install --save-dev --production=false
npm WARN [email protected] requires a peer of webpack@^1 || ^2 || ^3 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sass/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Okay, done. The following packages have been installed and saved to your package.json dependencies list:
Finished. Please run Mix again.
npm run dev
Same problem
Same issue here. Also with run dev and watch. Probably caused by this commit from July 16th. Using 4.1.2 for now.
Same
here as well
Quadruple this
It started this morning for me as well but I'm _not_ on the latest version. Here's my versions:
node - 10.15.3
npm - 6.4.1
laravel-mix - 4.0.7
osx - 10.14.3
I even tried making my webpack.mix.js file as minimal as possible but still get the same issues.
This must have been related to the collection rewrite. Patched just now in 4.1.4. Apologies!
thanks
Most helpful comment
This must have been related to the collection rewrite. Patched just now in 4.1.4. Apologies!