main.js > all console.log lines prompting error message > Uncaught Exception: Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:160:15) #886

Open
opened 2026-01-29 16:51:18 +00:00 by claunia · 0 comments
Owner

Originally created by @jdjadav on GitHub (Apr 26, 2023).

Hello There,

We have migrated our electron version from 13 to the latest, but in latest after building our app on Mac we see a popup coming with below error,

Uncaught Exception: Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:917:11)
at Socket._write (node:net:929:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at console.value (node:internal/console/constructor:300:16)
at console.log (node:internal/console/constructor:377:26)
at Server. (Contents/Resources/app.asar/main.js:166:13)

Same app is working on windows without any error. App keeps running but this error popup comes 4-5 time.

Note: We are putting electron net app inside our other mac app and opening it through command.

Originally created by @jdjadav on GitHub (Apr 26, 2023). Hello There, We have migrated our electron version from 13 to the latest, but in latest after building our app on Mac we see a popup coming with below error, Uncaught Exception: Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writeGeneric (node:internal/stream_base_commons:151:3) at Socket._writeGeneric (node:net:917:11) at Socket._write (node:net:929:8) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Writable.write (node:internal/streams/writable:337:10) at console.value (node:internal/console/constructor:300:16) at console.log (node:internal/console/constructor:377:26) at Server.<anonymous> (Contents/Resources/app.asar/main.js:166:13) Same app is working on windows without any error. App keeps running but this error popup comes 4-5 time. Note: We are putting electron net app inside our other mac app and opening it through command.
claunia added the bug label 2026-01-29 16:51:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#886