Skip to content

[Bug]: Gateway startup blocked because @openclaw/codex installation fails with "npm view produced incomplete package metadata" #107842

Closed

Description

@Kian-Thomas-West

Bug type

Crash (process/app exits or hangs)

Beta release blocker

No

Summary

Environment

  • OpenClaw: 2026.7.1
  • macOS (Apple Silicon)
  • Installed via npm
  • Node: (insert node --version)
  • npm: (insert npm --version)

Expected behaviour

OpenClaw completes startup migrations and the gateway starts successfully.

Actual behaviour

Gateway startup fails because OpenClaw refuses to complete startup migrations.

The error is:

Failed to install missing configured plugin "codex" from @openclaw/codex:
npm view produced incomplete package metadata

OpenClaw then exits with:

OpenClaw startup migrations did not complete cleanly; refusing to report the gateway ready.

What I've already verified

  • npm view @openclaw/codex succeeds and returns complete package metadata.
  • Package downloads successfully.
  • Package extracts successfully.
  • openclaw config validate passes.
  • openclaw plugins doctor reports no issues.
  • openclaw plugins list shows no installed Codex plugin.
  • openclaw config get plugins does not contain a Codex entry.
  • openclaw plugins install @openclaw/codex@2026.7.1 downloads and extracts the package, then fails with the same metadata error.

Reproduction

  1. Fresh OpenClaw installation.
  2. Complete onboarding.
  3. Run:
openclaw gateway

### Steps to reproduce

NOT_ENOUGH_INFO

### Expected behavior

NOT_ENOUGH_INFO

### Actual behavior

NOT_ENOUGH_INFO

### OpenClaw version

2026.7.1

### Operating system

MacOS Silicon

### Install method

npm

### Model

N/A. The gateway fails during startup migration before any model request is made.

### Provider / routing chain

OpenClaw 2026.7.1 → OpenAI provider configured via ChatGPT/Codex sign-in → startup migration attempts to install @openclaw/codex@2026.7.1 from npm → package downloads and extracts successfully → OpenClaw rejects it with “npm view produced incomplete package metadata” → gateway refuses readiness.

### Additional provider/model setup details

_No response_

### Logs

```shell

Screenshots, recordings, and evidence

No response

Impact and severity

Can't load OC

Additional information

No response

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

    bugSomething isn't workingbug:crashProcess/app exits unexpectedly or hangs

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions