[webpack-cli] Error: spawn Unknown system error -86
See original GitHub issueMaintainer’s note:
For now use mix.disableNotifications()
to silence the error. This is an issue with a dependency we use and M1 Macs.
I build a project laravel + vuejs in macos. I follow the steps:
laravel new blog cd blog composer require laravel/ui php artisan ui vue npm install && npm run dev and then asked for the following
Additional dependencies must be installed. This will only take a moment.
Running: npm install vue-loader@^15.9.7 --save-dev --legacy-peer-deps
Finished. Please run Mix again.
I run : npm install vue-loader@^15.9.7 --save-dev --legacy-peer-deps finally i run the following command ‘npm run dev’ . always get below error:
[webpack-cli] Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:415:11)
at spawn (node:child_process:698:9)
at Object.execFile (node:child_process:325:17)
at Object.module.exports.fileCommandJson (/Users/panda/Sites/blog/node_modules/node-notifier/lib/utils.js:88:13)
at NotificationCenter.notifyRaw (/Users/panda/Sites/blog/node_modules/node-notifier/notifiers/notificationcenter.js:81:11)
at WebpackNotifierPlugin.compilationDone (/Users/panda/Sites/blog/node_modules/webpack-notifier/index.js:129:14)
at _next1 (eval at create (/Users/panda/Sites/blog/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:39:1)
at eval (eval at create (/Users/panda/Sites/blog/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:63:1) {
errno: -86,
code: 'Unknown system error -86',
syscall: 'spawn'
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:13
Top Results From Across the Web
spawn Unknown system error -86 / Symfony6 / Mac M1 - Stack ...
I had the exact same issue while switching to the new M1 chip. The problem come from node-notifier dependencies from webpack-notifier ...
Read more >[webpack-cli] Error: spawn Unknown system error -86 - Laracasts
I am getting the above error after doing [npm run dev] ... [webpack-cli] Error: spawn Unknown system error -86 at ChildProcess.spawn ...
Read more >[webpack-cli] error: spawn unknown system error -86 - You.com
Another solution you could try is to just delete the package-lock.json file from your directory and run npm install again. It may pull...
Read more >Laravel Mix throws weird error "Error: spawn Unknown system ...
[webpack-cli] Error: spawn Unknown system error -86 at ChildProcess.spawn (node:internal/child_process:412:11) at spawn ...
Read more >Developers - [webpack-cli] Error: spawn Unknown system error -86 -
[webpack-cli] Error: spawn Unknown system error -86. ... disableNotifications() to silence the error. This is an issue with a dependency we use and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just had the same issue after I set up a new MacBook. After I executed
softwareupdate --install-rosetta
and restarted the terminal it instantly worked.I got this problem on an m1 16 inch macbook.
https://laravel-mix.com/docs/5.0/os-notifications
if i disable notifications it goes away