Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ryan1991's avatar

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

I am getting the above error after doing [npm run dev]

0 likes
3 replies
ryan1991's avatar

full details of the error:

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

ryan1991's avatar

I have already tried deleting node_modules, updating brew, and node, and then having another go at [npm install && npm run dev] - but the error persists

ryan1991's avatar

I have also tried moving my entire code to a new Laravel installation, but the problem persists . . .

Please or to participate in this conversation.