Skip to content

npm 0.157.0 references unavailable Linux x64 package #47990

Closed

Description

@derekszen

What version of Codex CLI is running?

0.157.0 via the npm global install.

What platform is your computer?

Arch Linux, x86_64; Node.js v25.6.1; npm 11.17.0.

What issue are you seeing?

The @openai/[email protected] package metadata declares the Linux x64 optional dependency as npm:@openai/[email protected], but that version is unavailable from the npm registry. npm install -g @openai/[email protected] can still exit successfully after installing the JavaScript wrapper, leaving codex unable to start:

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

A direct registry lookup also returns E404 No match found for version 0.157.0-linux-x64.

What steps reproduce the bug?

  1. On Linux x64, run npm install -g @openai/[email protected].
  2. Run codex --version.

What did you expect to happen?

The matching Linux x64 binary should be available and installed with the npm wrapper, so codex --version runs successfully.

Additional information

Installing @openai/[email protected] restores a working npm-managed CLI. The standalone native 0.157.0 install works; the failure is specific to the npm wrapper/platform package pairing.

Activity

  1. added
    bug
    CLI
    on Sep 25, 2026
  2. etraut-openai commented on Oct 12, 2026

    @etraut-openai
    Contributor

    (response from codex)

    Thanks for checking the registry. The 0.157.0-linux-x64 version and tarball are now available, so we are closing this release-specific report. The underlying issue of npm latest becoming visible before its platform binaries is still tracked in #51745, including more recent Linux x64 failures. This closure does not mean the release-order issue has been fixed.

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

    CLIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions