Windows 10 Store Version: codex://new causes "Cannot find module ...\new" and breaks Chrome/Computer Use OAuth callback

Resolved 💬 14 comments Opened May 30, 2026 by iho0 Closed Jun 2, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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.
  1. Install and authorize the Chrome integration.
  1. Complete authentication until the browser reaches:

http://localhost:1455/success

  1. Click "Open Codex".
  1. An Electron error dialog appears.

Alternative reproduction:

  1. Press Win + R.
  1. 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.

View original on GitHub ↗

14 Comments

github-actions[bot] contributor · 1 month ago

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

  • #25188
  • #25157
  • #25203
  • #25257
  • #25248

Powered by Codex Action

vadim-mazzherin · 1 month ago

A similar issue happens when you just click a Codex notification.
<img width="573" height="234" alt="Image" src="https://github.com/user-attachments/assets/f1f56bd8-a28d-48be-8969-cab589441d6b" />

neusse · 1 month ago

same

<img width="554" height="204" alt="Image" src="https://github.com/user-attachments/assets/49aff1c9-a799-4cfe-b81a-2c6e5eb64140" />

wileycoy0te · 1 month ago

I am seeing a very similar Windows protocol/extension handoff failure, but triggered from the Codex Chrome extension gear icon rather than the "Open Codex" button.

Feedback ID:
no-active-thread-019e7a9b-199c-7b92-91b9-d61f2917d0bf

Environment:

  • Windows desktop
  • Codex Windows app installed from Microsoft Store
  • Chrome extension version: 1.1.5
  • Codex app version shown in error path: 26.527.3366.0
  • Chrome extension shows Connected

Issue:
Clicking the gear icon in the Codex Chrome extension popup produces an Electron error instead of opening Codex/plugin settings.

Error:
Error launching app

Unable to find Electron app at:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3366.0_x64__p2nqsd0c76g0\app\google-chrome

Cannot find module:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3366.0_x64__p2nqsd0c76g0\app\google-chrome

Troubleshooting tried:

  • Uninstalled/reinstalled Codex Windows app
  • Uninstalled/reinstalled Chrome extension
  • Restarted Windows
  • Confirmed Codex opens normally from Start Menu
  • Confirmed extension shows Connected
  • Error still occurs when clicking the extension gear icon

This looks related to the same protocol/app routing problem described here, where Codex interprets the route/activation target as an Electron app path instead of handling it inside the running app.

iho0 · 1 month ago

I can reproduce this exact issue as well.

Clicking the gear icon in the Codex Chrome extension produces:

Cannot find module ...\google-chrome

<img width="836" height="337" alt="Image" src="https://github.com/user-attachments/assets/9f2bb08a-cfe1-4ad9-914b-fde7ce521cf2" />

mertcanvural · 1 month ago

I hit a similar Windows deep link bug once where the OAuth page succeeded but the custom protocol handoff mangled the route into an app path. Since itself repros it, I'd compare three things first: the raw protocol URL Windows hands to the Store app, authproxy.dev if you want to inspect the browser to app hop, or OAuth Redirect Doctor if you want the localhost success URL, deep link target, and callback path mapped side by side. imo the fact that works but dies points to protocol activation parsing, not the OAuth part.

bjicn · 1 month ago
我遇到了一个非常类似的 Windows 协议/扩展程序切换失败问题,但该问题是由 Codex Chrome 扩展程序的齿轮图标触发的,而不是由“打开 Codex”按钮触发的。 反馈编号:无活动线程-019e7a9b-199c-7b92-91b9-d61f2917d0bf 环境: Windows 桌面 从 Microsoft Store 安装的 Codex Windows 应用 Chrome 扩展程序版本:1.1.5 错误路径中显示的 Codex 应用版本:26.527.3366.0 Chrome 扩展程序显示“已连接” 问题:点击 Codex Chrome 扩展程序弹出窗口中的齿轮图标,会引发 Electron 错误,而不是打开 Codex/插件设置。 错误:启动应用程序时出错 无法在以下位置找到 Electron 应用: C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3366.0_x64__p2nqsd0c76g0\app\google-chrome 找不到模块: C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3366.0_x64__p2nqsd0c76g0\app\google-chrome 已尝试的故障排除方法: 卸载/重新安装 Codex Windows 应用程序 卸载/重新安装 Chrome 扩展程序 重启 Windows 已确认 Codex 可以从开始菜单正常打开 已确认的扩展程序显示已连接。 * 点击扩展齿轮图标时仍然出现错误 这看起来与这里描述的同一个协议/应用程序路由问题有关,Codex 将路由/激活目标解释为 Electron 应用程序路径,而不是在运行的应用程序内部处理它。

解决了吗

WaleyChAn · 1 month ago

I can reproduce a very similar issue on Windows 11, so this does not appear limited to Windows 10.

Environment:

  • OS: Windows 11 Pro for Workstations, version 10.0.26200, build 26200, 64-bit
  • Codex App: 26.527.3686.0
  • Install source: Microsoft Store
  • Codex Chrome Extension: 1.1.5
  • Extension ID: hehggadaopoacecdllhhajmbjkdcmajg

In my case the path segment is google-chrome instead of new:

Error launching app
Unable to find Electron app at:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\google-chrome

Cannot find module:
...\google-chrome

The Chrome extension is installed and enabled, but the native host is not created:

Missing:
%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json
HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension

Repair, uninstall/reinstall Codex, and reinstalling/reconnecting the Chrome extension did not resolve it.

jamin85cheng · 1 month ago

I've also encountered the same problem, and all the methods mentioned above have failed. Seeking help.


Error launching app
Unable to find Electron app at C:/Program
Files\WindowsApps\OpenAl.Codex_26.527.3686.0_x64_2p2nqsd0c76g0\appc...\new
Cannot find module 'C:\'Program
Files\WindowsApps\OpenAl.Codex_26.527.3686.0_x64_2p2nqsd0c76g0\app\c...\new

Divine-Shadow · 1 month ago

Additional current reproducer on Windows Store Codex showing the same codex:// protocol-handler class of failure, but for Settings routes rather than only codex://new.

Environment:

  • Codex Windows app package: OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0
  • Codex launches normally from Start Menu
  • Codex Chrome extension popup shows Connected
  • Extension version shown in popup: 1.1.5

Repro A: Chrome extension gear

  1. Open Chrome extension popup.
  2. Click the gear icon.
  3. The extension attempts to open:
codex://settings/computer-use/google-chrome

Actual result: Windows/Electron error dialog:

Error launching app
Unable to find Electron app at C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app\...\google-chrome
Cannot find module 'C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app\...\google-chrome'

Repro B: direct Browser Use settings deep link

  1. Run the equivalent of:
Start-Process codex://settings/browser-use
  1. Codex later shows the same kind of Electron error dialog, this time ending in browser-use:
Unable to find Electron app at C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app\...\browser-use
Cannot find module 'C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app\...\browser-use'

Expected behavior:

  • codex://settings/computer-use/google-chrome should open/focus Codex Settings at the Google Chrome integration page.
  • codex://settings/browser-use should open/focus Codex Settings at Browser Use.
  • The final route segment should not be interpreted as an Electron app/module path.

This appears to be the same protocol argument parsing/registration failure described here for codex://new, still reproducing on 26.527.7698.0.

gtm6taw · 1 month ago

I can reproduce what looks like the same Windows Codex app protocol/deep-link handling issue, with two related paths from the Codex Chrome extension / Codex app handoff.

Feedback ID:
no-active-thread-019e8843-7153-7f23-b7db-7e892d14179c

Environment / affected surfaces:

  • Windows 11
  • Windows Codex app
  • Codex Chrome extension
  • Electron error dialog
  • Error occurs when clicking Open Codex / Codexを開く from the Chrome extension flow
  • Screenshots are available if needed

First observed error:
Clicking Open Codex from the Codex Chrome extension flow opens an Electron error dialog instead of returning to Codex.

The error says:

Error launching app

Unable to find Electron app at
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\...\google-chrome

Cannot find module
'C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\...\google-chrome'

Important detail: the path ends with google-chrome.

A newer similar error also occurred with an OAuth callback path instead of google-chrome:

Error launching app

Unable to find Electron app at
...\oauth_callback?code=[REDACTED]&state=[REDACTED]

Cannot find module
'...\oauth_callback?code=[REDACTED]&state=[REDACTED]'

This makes it look like the Windows Codex app / Electron launcher is treating the deep-link route or OAuth callback URL as an Electron app/module path, instead of passing it to the running Codex app as a protocol/deep-link callback.

For safety, I will redact the actual OAuth code and state values from any public screenshots.

yuzhu-oai · 1 month ago

A fix has been implemented and will be released soon.

Thanks for reporting!

gshershov · 1 month ago

Module not found: /mnt/c/Users/admin/.codex/plugins/cache/openai-bundled/computer-use/26.601.21317/scripts/computer-use-client.mjs

yuzhu-oai · 1 month ago
Module not found: /mnt/c/Users/admin/.codex/plugins/cache/openai-bundled/computer-use/26.601.21317/scripts/computer-use-client.mjs

@gshershov This doesn't seem like the same problem. I would suggest filing a separate issue so people can more easily track it. Thanks!