You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows Codex Desktop repeatedly shows main-process error "Error: write EOF" after update #38202
Since updating the Codex Windows desktop app, a modal error appears frequently at unrelated points during normal use. The app had not shown this error before the update.
Exact dialog text:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EOF
at WriteWrap.onWriteComplete [as oncomplete]
(node:internal/stream_base_commons:87:19)
The error is not tied to one project action: it can appear at different times while using the app.
Troubleshooting already tried
Used Windows Settings > Apps > Codex > Advanced options > Repair (Восстановить)
Fully restarted the app / Windows
Repair did not resolve the issue. A full app reset was deliberately not attempted because preserving local Codex history and settings is important.
Expected behavior
Codex should handle a closed internal stream/child process without surfacing a recurring uncaught main-process exception to the user.
Impact
The error interrupts work repeatedly and began immediately after the update. It does not appear to be caused by a particular repository or action.
Current Microsoft Store Codex Desktop build: 26.818.2441.0, x64.
The exact main-process dialog still recurs after updating Codex and performing a full app restart:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EOF
at WriteWrap.onWriteComplete [as oncomplete]
(node:internal/stream_base_commons:87:19)
It appears when Codex tasks/automations start, hangs the Desktop UI, and can disable remote control. It is not limited to one repository or one user action.
Please confirm whether #38202 covers this current build and triage it with #35985 (browser-sidebar EPIPE -> write EOF) and #38062 (Git-review cancellation -> write EOF). The app should treat closed IPC/child streams as recoverable disconnects rather than surfacing an uncaught Electron main-process exception.
Activity
github-actions commentedon Aug 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
rajks85 commentedon Aug 21, 2026
Update from an affected Windows user:
It appears when Codex tasks/automations start, hangs the Desktop UI, and can disable remote control. It is not limited to one repository or one user action.
Please confirm whether #38202 covers this current build and triage it with #35985 (browser-sidebar EPIPE -> write EOF) and #38062 (Git-review cancellation -> write EOF). The app should treat closed IPC/child streams as recoverable disconnects rather than surfacing an uncaught Electron main-process exception.