Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No mix v6.* support? #12

Open
jakewhiteley opened this issue Jun 13, 2021 · 1 comment
Open

No mix v6.* support? #12

jakewhiteley opened this issue Jun 13, 2021 · 1 comment

Comments

@jakewhiteley
Copy link

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

@mglaman
Copy link

mglaman commented Sep 11, 2021

I'm on 6 and it's working fine. It looks like NPM just took the "rerun again" as a failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants