Skip to content

v0.120.0 missing Windows platform binaries (win32-x64, win32-arm64) #17423

Closed

Description

@Asunfly

Bug Report

Summary

@openai/[email protected] fails to run on Windows because the platform-specific binary packages (0.120.0-win32-x64 and 0.120.0-win32-arm64) were not published to npm.

Environment

  • OS: Windows 11 Pro (x64)
  • Node.js: v24.12.0
  • npm: latest

Steps to Reproduce

  1. npm install -g @openai/codex@latest (installs 0.120.0)
  2. codex --version

Error

file:///C:/Users/sunfl/AppData/Roaming/npm/node_modules/@openai/codex/bin/codex.js:100
    throw new Error(
          ^

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

Root Cause

The optionalDependencies in 0.120.0 reference:

"@openai/codex-win32-x64": "npm:@openai/[email protected]",
"@openai/codex-win32-arm64": "npm:@openai/[email protected]"

However, these tagged versions were never published to the npm registry:

npm view @openai/codex-win32-x64
# 404 Not Found

Confirmed by checking published versions — 0.120.0-win32-x64 and 0.120.0-win32-arm64 are missing while Linux and macOS variants exist:

0.120.0-darwin-arm64  ✅
0.120.0-darwin-x64    ✅
0.120.0-linux-arm64   ✅
0.120.0-linux-x64     ✅
0.120.0-win32-arm64   ❌ missing
0.120.0-win32-x64     ❌ missing

Workaround

Downgrade to 0.119.0 which has all platform binaries published:

npm install -g @openai/[email protected]

Expected Fix

Publish the missing 0.120.0-win32-x64 and 0.120.0-win32-arm64 tagged versions to npm, or release a patch version with the correct binaries.

Activity

  1. added
    bug
    CLI
    windows-os
    on Apr 11, 2026
  2. github-actions commented on Apr 11, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. etraut-openai commented on Apr 11, 2026

    @etraut-openai
    Contributor
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

    CLIbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions