If you ran npm install -g openclaw@latest or npm update -g openclaw in the last 24 hours and your CLI is now throwing errors about missing plugin dependencies — you've hit a confirmed bug in 2026.4.5.

The bug was filed on GitHub at issue #61686. The short version: the 2026.4.5 package can ship with missing or corrupted bundled plugin runtime dependencies, leaving the CLI unable to start or load plugins correctly.

Error: Cannot find module '@openclaw/plugin-runtime/dist/loader'
Require stack:
- /usr/local/lib/node_modules/openclaw/dist/cli.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Function.Module._load (node:internal/modules/cjs/loader:885:27)

You might also see variations like:

Before you start: Run openclaw --version. If it outputs 2026.4.5 and you're seeing errors, this guide is for you. If it says an earlier version, something else is going on.

Option 1 — Rollback to 2026.4.4 (Fastest Fix)

The cleanest path is to roll back to the last stable release while the 2026.4.5 bug is patched:

npm install -g openclaw@2026.4.4

Then verify:

openclaw --version
openclaw status

If openclaw status shows your agent and gateway running normally, you're done. Restart the gateway for good measure:

openclaw gateway restart

Recommended: Pin your version in a shell alias or CI script until the patch lands. Add alias openclaw-safe="npx openclaw@2026.4.4" to your .bashrc or .zshrc as a fallback.

Option 2 — Force Reinstall 2026.4.5 (If Rollback Fails)

Some users report that a clean reinstall of 2026.4.5 itself resolves the issue — the corruption seems to happen during the update process, not in the package itself:

# Remove the broken install
npm uninstall -g openclaw

# Clear npm cache to avoid serving the corrupt cached version
npm cache clean --force

# Fresh install
npm install -g openclaw@2026.4.5

# Verify
openclaw --version
openclaw status

Warning: Do NOT skip npm cache clean --force. If npm serves the cached corrupt package, you'll end up in the same broken state.

Option 3 — Reinstall Plugin Dependencies Manually

If both of the above fail, you can try rebuilding the bundled deps directly. Find where npm installed openclaw globally:

npm root -g

Navigate there and reinstall the broken dependency:

cd $(npm root -g)/openclaw
npm install --ignore-scripts

This forces npm to rebuild the node_modules tree inside the openclaw package directory without running any install scripts (which can sometimes cause the corruption in the first place).

How to Know It's Fixed

Three checks — all three should pass cleanly:

# 1. CLI loads
openclaw --version

# 2. Gateway can start (watch for plugin errors in output)
openclaw gateway start --verbose

# 3. Status shows agents
openclaw status

If you see any Cannot find module errors in step 2's output, you're not fixed yet. Go back to Option 1 (rollback).

Should You Update at All Right Now?

Honest answer: no. Hold at 2026.4.4 until a patch is confirmed.

The OpenClaw release cadence has been aggressive this year — 5 releases in the 4.x line since the start of April. That velocity is great for features but it means breaking bugs ship more often. The pattern we've seen across 3.22, 3.31, 4.1, and now 4.5:

The fix for 4.5 will almost certainly be 2026.4.6. Watch the GitHub releases page or the r/openclaw subreddit for the all-clear.

Pro tip: Set up openclaw backup create as a cron job or pre-update hook. It takes 5 seconds and means any bad update can be reversed in under a minute. We cover this in every ClawReady setup.

Still Broken?

A few edge cases that can complicate the fix: