admin管理员组文章数量:1130349
Electron 错误:在 afterWriteDispatched 写入 EPIPE
在 Mac 上构建我们的 Electron 应用程序后,我们看到一个带有以下错误的弹出窗口,相同的应用程序在 Windows 上运行没有任何错误。 注意:应用程序一直在运行,但此错误弹出窗口出现 4-5 次
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)
当我在 js 中看到错误行时,它是 console.log 我们需要在 mac 中给予任何额外的权限吗?
回答如下:
Electron 错误:在 afterWriteDispatched 写入 EPIPE
在 Mac 上构建我们的 Electron 应用程序后,我们看到一个带有以下错误的弹出窗口,相同的应用程序在 Windows 上运行没有任何错误。 注意:应用程序一直在运行,但此错误弹出窗口出现 4-5 次
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)
当我在 js 中看到错误行时,它是 console.log 我们需要在 mac 中给予任何额外的权限吗?
回答如下:本文标签: Electron 错误在 afterWriteDispatched 写入 EPIPE
版权声明:本文标题:Electron 错误:在 afterWriteDispatched 写入 EPIPE 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1717253975a448997.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论