node:events:497
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:159:15)
at writeGeneric (node:internal/stream_base_commons:150:3)
at Socket._writeGeneric (node:net:966:11)
at Socket._write (node:net:978:8)
at writeOrBuffer (node:internal/streams/writable:572:12)
at _write (node:internal/streams/writable:501:10)
at Writable.write (node:internal/streams/writable:510:10)
at main (<HOME>/.local/share/pnpm/global/5/.pnpm/pnpm@10.17.1/node_modules/pnpm/dist/pnpm.cjs:199754:9)
at async runPnpm (<HOME>/.local/share/pnpm/global/5/.pnpm/pnpm@10.17.1/node_modules/pnpm/dist/pnpm.cjs:199957:5)
at async <HOME>/.local/share/pnpm/global/5/.pnpm/pnpm@10.17.1/node_modules/pnpm/dist/pnpm.cjs:199949:7
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
Verify latest release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
pnpm config list | echoDescribe the Bug
EPIPEerror occurs.Details
Expected Behavior
Piping to another command works.
Which Node.js version are you using?
22.19.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response