mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
main.js > all console.log lines prompting error message > Uncaught Exception: Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:160:15) #889
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@jdjadav commented on GitHub (Apr 28, 2023):
@GregorBiswanger,
We have fixed this by extracting app.asar file and removed all the console.log() and console.error() line.
just leaving this open for you if this needs to be fixed.
@FlorianRappl commented on GitHub (Nov 1, 2025):
Outdated - use
ElectronNET.CoreandElectronNET.Core.AspNet.See Wiki / What's New.