Skip to content

Windows app cannot start node_repl/xcodebuildmcp due to mixed invalid cwd/runtime paths #41774

Closed as duplicate

Description

@gwaterhouse

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

  • Windows OpenAI.Codex 26.825.6671.0
  • Bundled Codex/app-server 0.151.0-alpha.7.2

What subscription do you have?

Paid ChatGPT subscription; the exact tier is not exposed to this diagnostic task.

What platform is your computer?

Microsoft Windows NT 10.0.26220.0, x64 OS/x64 process

What issue are you seeing?

Tasks hosted by the Windows desktop app cannot initialize node_repl or xcodebuildmcp. Both optional MCP runtimes repeatedly fail before tool execution:

2026-08-31T01:07:09.495Z MCP client for `node_repl` failed to start: MCP startup failed: No such file or directory (os error 2)
2026-08-31T01:07:09.497Z MCP client for `xcodebuildmcp` failed to start: MCP startup failed: No such file or directory (os error 2)

Earlier attempts to use Computer Use/Node REPL failed before executing JavaScript with this shape of error (username/project redacted):

codex/sandbox-state-meta: sandboxCwd is not a local file URI: file:///mnt/c/Users/<redacted>/Projects/<redacted>

The task metadata also retained a malformed mixed path shaped like:

/mnt/c/Program Files/WindowsApps/<old-package>/app/resources/C:\Users\<redacted>\Projects\<redacted>

The current package is installed and registered Ok; the previous package is not registered or running. Core codex_app tools still become ready, but Computer Use/Node REPL is unavailable.

What steps can reproduce the bug?

  1. Install the Microsoft Store Windows Codex app and save a project whose native path is C:\Users\<user>\Projects\<project>.
  2. Start a local or worktree task on that Windows host, including when coordinating it remotely from another Codex app.
  3. Ask the task to use Computer Use/node_repl.
  4. Initialization fails before JavaScript executes. Depending on the attempt, the visible failure is either sandboxCwd is not a local file URI: file:///mnt/c/... or MCP startup No such file or directory (os error 2).
  5. Updating/restarting the Windows app does not repair the stored path/runtime initialization.

What is the expected behavior?

The Windows app should normalize the project/worktree cwd to one valid Windows-local URI and launch bundled optional runtimes from the current package. A stale package resource prefix or mixed WSL/Windows path should not be retained in task metadata.

Additional information

  • The failure is independent of the project being built; it occurs before any provider or project command executes.
  • The current app session remains healthy and shell/core app tools continue working.
  • Local usernames, project names, task IDs, and raw logs have been omitted.

Activity

  1. added
    bug
    app
    windows-os
    mcp
    app-server
    on Aug 31, 2026
  2. gwaterhouse commented on Aug 31, 2026

    @gwaterhouse
    Author

    Thanks for the duplicate pointers. After reviewing the related reports, I’m closing this combined issue as a duplicate.

    This report combined separate existing failure families and therefore does not add a clean standalone reproduction. If the narrower native-Windows file:///mnt/c/... sandbox URI failure remains reproducible after runtime materialization and in a fresh task, I’ll report only that differential with explicit controls rather than reopen this combined issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverbugcomputer-usemcpwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions