codex - 💡(How to fix) Fix Windows 10 Store Version: codex://new causes "Cannot find module ...\new" and breaks Chrome/Computer Use OAuth callback

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

When clicking "Open Codex", Codex fails to handle the callback and shows the following Electron error: Error launching app The same error can also be reproduced by executing: 5. An Electron error dialog appears. 3. The same Electron error appears. should activate Codex normally instead of producing an Electron error.

RAW_BUFFERClick to expand / collapse

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

26.527.3686.0

What subscription do you have?

ChatGPT Plus

What platform is your computer?

No response

What issue are you seeing?

After completing Chrome integration authentication, the browser successfully reaches:

http://localhost:1455/success

and displays an "Open Codex" button.

When clicking "Open Codex", Codex fails to handle the callback and shows the following Electron error:

Error launching app

Unable to find Electron app at: C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__...\new

Cannot find module: ...\new

The same error can also be reproduced by executing:

codex://new

via Win + R.

<img width="560" height="222" alt="Image" src="https://github.com/user-attachments/assets/ddd04d1f-ce86-4a5a-81c1-b9d8d6384167" />

What steps can reproduce the bug?

  1. Install Codex 26.527.3686.0 from Microsoft Store.

  2. Install and authorize the Chrome integration.

  3. Complete authentication until the browser reaches:

http://localhost:1455/success

  1. Click "Open Codex".

  2. An Electron error dialog appears.

Alternative reproduction:

  1. Press Win + R.

  2. Execute:

codex://new

  1. The same Electron error appears.

What is the expected behavior?

Clicking "Open Codex" should return to the installed Codex application and complete the Chrome integration setup.

Executing:

codex://new

should activate Codex normally instead of producing an Electron error.

Additional information

Environment:

  • Windows 10 Home 22H2 (Build 19045.6466)
  • AMD Ryzen 7 5800H
  • NVIDIA RTX 3070 Laptop GPU
  • Codex 26.527.3686.0
  • Microsoft Store installation
  • ChatGPT Plus subscription

Additional findings:

  • OAuth authentication succeeds and reaches localhost:1455/success.
  • Codex launches normally from the Start Menu.
  • Reinstalling Codex from Microsoft Store does not resolve the issue.
  • Deleting the .codex directory does not resolve the issue.
  • The issue is reproducible every time.

Additional Windows 10 issue:

When the Codex window is maximized, parts of the left sidebar and top area become transparent or render incorrectly.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING