ElectronNET / Electron.NET

:electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).

Home Page:https://gitter.im/ElectronNET/community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jdjadav opened this issue · comments

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.

@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.