JavaScript runtime error after closing terminal window

Open 💬 4 comments Opened May 29, 2026 by NateSpencerWx

What version of the Codex App are you using (From “About Codex” dialog)?

26.527.31326

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

A JavaScript error occurred in the main process

Uncaught Exception:
Error: AttachConsole failed
at Object.<anonymous> (C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\app\resources\app.asar\26)
at Module._compile (node:internal/modules/cjs/loader:1820:14)
at Module._extensions.js (node:internal/modules/cjs/loader:1953:10)
at Module.load (node:internal/modules/cjs/loader:1540:32)
at Module._load (node:internal/modules/cjs/loader:1342:12)
at c._load (node:electron/js2c/node_init:2:18082)
at wrapModuleLoad (node:internal/modules/cjs/loader:262:19)
at loadCJSModuleWithModuleLoad (node:internal/modules/esm/translators:334:3)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:235:7)
at ModuleJob.run (node:internal/modules/esm/module_job:430:25)

What steps can reproduce the bug?

This error occurred when inside of a conversation and when I closed out of a terminal from the horizontal terminal view

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

kryyyyyy · 3 months ago
  • #25225: Same problem!

<img width="824" height="546" alt="Image" src="https://github.com/user-attachments/assets/bd66d2f0-0710-4ad4-b634-80691ca9ad81" />

CuSO41108 · 3 months ago

<img width="1124" height="762" alt="Image" src="https://github.com/user-attachments/assets/bba8b0cc-37cb-41f0-8274-c8d0f235e702" />

yy663 · 2 months ago

<img width="556" height="342" alt="Image" src="https://github.com/user-attachments/assets/4eababe4-2dc3-4f7f-a8ec-a4c87fcabf57" />

buckaroo54 · 2 months ago

<img width="853" height="513" alt="Image" src="https://github.com/user-attachments/assets/735da822-1bba-4475-8bdb-2d118d4918fe" />

Feedback ID 019e7b72-708f-7b22-b580-ba8983a67ac7