node:events:491 throw er; // Unhandled 'error' event ^ Error: write UNKNOWN at…
- User
node:events:491 throw er; // Unhandled 'error' event ^
Error: write UNKNOWN at target._send (node:internal/child_process:865:20) at target.send (node:internal/child_process:738:19) at ChildProcessWorker.send (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\workers\ChildProcessWorker.js:291:17) at WorkerPool.send (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\WorkerPool.js:32:34) at Farm._process (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\Farm.js:129:10) at Farm._enqueue (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\Farm.js:152:10) at Farm._push (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\Farm.js:159:12) at C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\Farm.js:90:14 at new Promise () at Farm.doWork (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\Farm.js:56:12) at JestWorker._callFunctionWithArgs (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\node_modules\jest-worker\build\index.js:143:23) at TaskRunner.runTask (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\dist\TaskRunner.js:41:26) at enqueue (C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\dist\TaskRunner.js:89:35) at C:\Users\zouga\OneDrive\Bureau\Projects\DNext-App\node_modules\terser-webpack-plugin\dist\TaskRunner.js:113:86 Emitted 'error' event on ChildProcess instance at: at node:internal/child_process:869:39 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { errno: -4094, code: 'UNKNOWN', syscall: 'write' }
Node.js v18.13.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
- Assistant
This error message indicates that there was an unhandled 'error' event in a Node.js program. The error occurred when trying to write to a child process, and the specific error message is "write UNKNOWN". This error may be related to a problem with the child process or with the way the program is handling events.
It looks like this error occurred while running a command using Yarn, and the Node.js version being used is 18.13.0. To troubleshoot this error, you may need to look at the code that is causing the error and determine what is causing the problem with the child process. Additionally, you can check if any dependencies are outdated or if there are any compatibility issues with the Node.js version being used. You can also try running the command with a different version of Node.js to see if the error persists.