v0.120.0 missing Windows platform binaries (win32-x64, win32-arm64)
Resolved 💬 2 comments Opened Apr 11, 2026 by Asunfly Closed Apr 11, 2026
Bug Report
Summary
@openai/codex@0.120.0 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
npm install -g @openai/codex@latest(installs 0.120.0)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/codex@0.120.0-win32-x64",
"@openai/codex-win32-arm64": "npm:@openai/codex@0.120.0-win32-arm64"
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/codex@0.119.0
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.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗