[Windows app] AppRoutes crashes with "process is not defined" on 26.721.3996.0

Open 💬 1 comment Opened Jul 24, 2026 by hantuotuo06
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

=== Issue Title ===
[Windows app] AppRoutes crashes with "process is not defined" on 26.721.3996.0

=== Issue Body ===

What version of the Codex App are you using?
OpenAI.Codex 26.721.3996.0 x64
Microsoft Store product ID: 9PLM9XGG6VKS

What subscription do you have?
ChatGPT paid plan

What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
Windows 11 25H2

What issue are you seeing?
The Windows Codex/ChatGPT app consistently renders the generic "Something went wrong / Update ChatGPT" fallback page.

A clean cold start with zero existing ChatGPT processes reproduces the issue. The renderer log shows:

error [electron-message-handler] error boundary
errorMessage="process is not defined"
name=AppRoutes
Timeline from cold start (no preferences, no cache):

T+0s: App launched via AUMID
T+28s: app routes mounted after 4362ms
T+29s (105ms later): error boundary — errorMessage="process is not defined" name=AppRoutes
T+30s+: Backend continues successfully: plugin/list, app/list, model/list, thread/list all return errorCode=null. Runtime paths selected. Auth succeeded.
Isolation results
Network/proxy isolation: Switching proxy to Global mode + a different Japan-based node resolved all ERR_CONNECTION_CLOSED on /wham/statsig/bootstrap and /wham/accounts/check. The React error boundary persisted.

Renderer profile isolation: Renaming the entire Default Chromium profile directory and letting the app create a completely fresh profile did NOT change the behavior. The error occurs on first launch with zero persisted state.

Configuration isolation: config.toml disabled, CODEX_HOME not set. Same error on both C: and D: drive locations.

What steps can reproduce the bug?
Close all ChatGPT.exe processes.
Launch OpenAI.Codex 26.721.3996.0 (Microsoft Store).
Wait 30 seconds.
The app shows "Something went wrong / Update ChatGPT."
The main UI never loads.
What is the expected behavior?
The app should show the Chat / Work / Codex main interface without requiring user intervention.

Additional context
Related issue #35114 (same version, same error) was already filed and closed. This issue provides additional isolation evidence showing the error is:

Not network-dependent (verified with working proxy)
Not renderer-profile-dependent (verified with fresh profile)
Not config-dependent (verified with isolated config)
The error originates from app-initial-DVfVy4b5.js:8875. The renderer bundle references process which is undefined in the Chromium sandboxed context. All suggestions in issue #35057's comments (removing second project root, resetting user data) did not help.

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 1 month ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #35114
  • #35173

Powered by Codex Action