You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I cannot run production command using laravel-mix 6.*
To Reproduce
Just try to run production script using the most recent laravel-mix (and webpack) package.
Desktop (please complete the following information):
OS: Windows 10
Additional context
> mix --production
Additional dependencies must be installed. This will only take a moment.
Running: npm install workbox-webpack-plugin --save-dev --legacy-peer-deps
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/formula'
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/pinpoint'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\@types\browser-sync\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"
os":"win32","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: {"o
s":"win32","arch":"x64"})
Finished. Please run Mix again.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] production: `mix --production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\twent\AppData\Roaming\npm-cache\_logs\2021-06-13T13_26_34_112Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prod: `npm run production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\twent\AppData\Roaming\npm-cache\_logs\2021-06-13T13_26_34_128Z-debug.log
The text was updated successfully, but these errors were encountered:
Describe the bug
I cannot run production command using laravel-mix 6.*
To Reproduce
Just try to run production script using the most recent laravel-mix (and webpack) package.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: