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

[webpack-cli] Error: spawn Unknown system error -86 #3207

Closed
alexanderhorner opened this issue Jan 31, 2022 · 3 comments
Closed

[webpack-cli] Error: spawn Unknown system error -86 #3207

alexanderhorner opened this issue Jan 31, 2022 · 3 comments

Comments

@alexanderhorner
Copy link

  • Laravel Mix Version: 6.0.41 (npm list --depth=0)
  • Node Version (node -v): 16.13.2
  • NPM Version (npm -v): 8.1.2
  • OS: macOS Monterey 12.0.1

Description:

Mix throws weird error even in completely new Laravel project.

Steps To Reproduce:

  1. Create new Laravel Project
  2. run npm install
  3. run npm run dev
[webpack-cli] Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:412:11)
    at spawn (node:child_process:698:9)
    at Object.execFile (node:child_process:325:17)
    at Object.module.exports.fileCommandJson (/Users/alexanderhorner/Documents/GitHub/wgg-homepage/test/node_modules/node-notifier/lib/utils.js:88:13)
    at NotificationCenter.notifyRaw (/Users/alexanderhorner/Documents/GitHub/wgg-homepage/test/node_modules/node-notifier/notifiers/notificationcenter.js:81:11)
    at WebpackNotifierPlugin.compilationDone (/Users/alexanderhorner/Documents/GitHub/wgg-homepage/test/node_modules/webpack-notifier/index.js:129:14)
    at _next1 (eval at create (/Users/alexanderhorner/Documents/GitHub/wgg-homepage/test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:39:1)
    at eval (eval at create (/Users/alexanderhorner/Documents/GitHub/wgg-homepage/test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:63:1) {
  errno: -86,
  code: 'Unknown system error -86',
  syscall: 'spawn'
}
@daleweaver777
Copy link

I'm getting the same error on a new Laravel/Breeze/Vue install.

Laravel Mix Version: 6.0.41
Node Version: 17.4.0
NPM Version 8.4.1
OS: macOS Monterey 12.2 (clean install)

@thecrypticace
Copy link
Collaborator

Duplicate of #3027

We're gonna have to replace a dependency to fix things on ARM macOS it seems.

@daleweaver777
Copy link

I installed Rosetta 2 and fixed the problem.

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

3 participants