You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
OpenAI released version 0.150.1 of @openai/codex to the npm registry with the latest tag, but the Linux binaries were not published for that version (only macOS 0.150.1-darwin-arm64 was published, while Linux remained on 0.150.0-linux-x64).
Because @openai/[email protected] specifies the optional dependency @openai/codex-linux-x64 as @openai/[email protected] (which 404s on npm), npm quietly skipped installing the native binary. When running codex, the launcher script failed to locate the binary.
The codex cli suggests the update, so most users will automatically update to a currently broken package.
This still happens on current stable releases. The root @openai/codex package (which latest points to) is published before the platform packages in its optionalDependencies, even though #19389 changed the release workflow to publish the six platform tarballs before the root wrapper. Publish times from npm view @openai/codex time --json:
Version
Root package
Platform packages published after the root package
During the 0.160.0 window, latest was already 0.160.0 while npm view @openai/[email protected] returned E404, and the win32-arm64 dist-tag still pointed at 0.159.3-win32-arm64.
Observed impact on darwin-arm64 during the 0.158.0 release: npm install -g @openai/codex@latest exited 0, then codex --version failed with Missing optional dependency @openai/codex-darwin-arm64. Reinstalling 0.157.1 restored the CLI, and 0.158.0 installed correctly once its platform package was published.
Expected: latest moves to a version only after every <version>-<os>-<arch> package in its optionalDependencies is published, so for each release every platform publish time precedes the root publish time. Related symptom reports: #47990, #24672.
Activity
coygeek commentedon Oct 1, 2026
This still happens on current stable releases. The root
@openai/codexpackage (whichlatestpoints to) is published before the platform packages in itsoptionalDependencies, even though #19389 changed the release workflow to publish the six platform tarballs before the root wrapper. Publish times fromnpm view @openai/codex time --json:During the 0.160.0 window,
latestwas already 0.160.0 whilenpm view @openai/[email protected]returned E404, and thewin32-arm64dist-tag still pointed at0.159.3-win32-arm64.Observed impact on darwin-arm64 during the 0.158.0 release:
npm install -g @openai/codex@latestexited 0, thencodex --versionfailed withMissing optional dependency @openai/codex-darwin-arm64. Reinstalling 0.157.1 restored the CLI, and 0.158.0 installed correctly once its platform package was published.Expected:
latestmoves to a version only after every<version>-<os>-<arch>package in itsoptionalDependenciesis published, so for each release every platform publish time precedes the root publish time. Related symptom reports: #47990, #24672.