Skip to content

Bug: Missing optional dependency @openai/codex-win32-x64 on Windows (v0.124) #19243

@asdfqwerzxcc

Description

@asdfqwerzxcc

What version of Codex CLI is running?

0.124.0

What subscription do you have?

pro

Which model were you using?

No response

What platform is your computer?

OS: Windows 10 x64 Node.js: (e.g. v20.12.2) npm: (e.g. v10.5.0) Codex version: 0.124.0

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

After installing @openai/codex@0.124.0 globally, running codex results in the following error:

Error: Missing optional dependency @openai/codex-win32-x64.
Reinstall Codex: npm install -g @openai/codex@latest

What steps can reproduce the bug?

Install Codex:

npm install -g @openai/codex@0.124.0

Run:

codex

What is the expected behavior?

Codex CLI should run normally.

Additional information

npm config get omit returns: (your value)
NODE_ENV: (your value)

Installing @openai/codex-win32-x64 directly results in:

404 Not Found
Version 0.122.x works correctly on the same environment.
Suspected Cause

It seems that the Windows-specific optional dependency (*-win32-x64) may not be properly published or resolved for version 0.124.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions