webpack-cli : 错误: 生成未知系统错误 -86 / Symfony6 / Mac M1

pau*_*ent 3 php npm webpack-encore webpack-cli symfony6

我有一台带有 M1 芯片的 Mac,我想知道该错误是否与此有关,因为在我的旧电脑上没有问题。

 % npm run dev           

> dev
> encore dev

Running webpack ...

[webpack-cli] Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:420:11)
    at spawn (node:child_process:757:9)
    at Object.execFile (node:child_process:348:17)
    at module.exports.fileCommandJson (/Users/Desktop/quest/wild-series/node_modules/node-notifier/lib/utils.js:88:13)
    at NotificationCenter.notifyRaw (/Users/Desktop/quest/wild-series/node_modules/node-notifier/notifiers/notificationcenter.js:81:11)
    at WebpackNotifierPlugin.compilationDone (/Users/Desktop/quest/wild-series/node_modules/webpack-notifier/index.js:129:14)
    at Hook.eval [as callAsync] (eval at create (/Users/Desktop/quest/wild-series/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:18:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/Desktop/quest/wild-series/node_modules/tapable/lib/Hook.js:18:14)
    at /Users//Desktop/quest/wild-series/node_modules/webpack/lib/Compiler.js:498:23
    at Compiler.emitRecords (/Users/Desktop/quest/wild-series/node_modules/webpack/lib/Compiler.js:919:5) {
  errno: -86,
  code: 'Unknown system error -86',
  syscall: 'spawn'
}
Run Code Online (Sandbox Code Playgroud)

我尝试过使用纱线和 npm ..