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

Laravel Mix error after running npx mix watch #2937

Open
PabloC opened this issue Apr 18, 2021 · 3 comments
Open

Laravel Mix error after running npx mix watch #2937

PabloC opened this issue Apr 18, 2021 · 3 comments

Comments

@PabloC
Copy link

PabloC commented Apr 18, 2021

  • Laravel Mix Version: 6.0.16
  • Node Version: 15.14
  • NPM Version: 7.7.6
  • OS: MacOS Big Sur 11.3 (ARM / M1) without Rosetta2 installed.

After running "npx mix watch" I'am getting this error. Apparently is related to webpack, but I don't understand exactly where is the problem.

[webpack-cli] Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:415:11)
    at spawn (node:child_process:609:9)
    at Object.execFile (node:child_process:254:17)
    at Object.module.exports.fileCommandJson (/Users/pibefision/Proyectos/devopspanda/node_modules/node-notifier/lib/utils.js:88:13)
    at NotificationCenter.notifyRaw (/Users/pibefision/Proyectos/devopspanda/node_modules/node-notifier/notifiers/notificationcenter.js:81:11)
    at WebpackNotifierPlugin.compilationDone (/Users/pibefision/Proyectos/devopspanda/node_modules/webpack-notifier/index.js:129:14)
    at _next1 (eval at create (/Users/pibefision/Proyectos/devopspanda/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:39:1)
    at eval (eval at create (/Users/pibefision/Proyectos/devopspanda/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:63:1) {
  errno: -86,
  code: 'Unknown system error -86',
  syscall: 'spawn'
}

@thecrypticace
Copy link
Collaborator

This is related to node-notifier not supporting Apple Silicon: mikaelbr/node-notifier#361

They need to recompile terminal-notifier in Xcode with Apple Silicon support. I tested this myself and it compiles just fine but I don't have an M1 Mac to verify functionality.

@stale

This comment has been minimized.

@stale stale bot added the stale label Jun 18, 2021
@atiqsu
Copy link

atiqsu commented Dec 30, 2022

Is there any way around?

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

No branches or pull requests

3 participants