openclaw - 💡(How to fix) Fix [v2026.5.4] ERR_MODULE_NOT_FOUND for task-registry.maintenance-D6pHN-y9.js after fresh install [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78205Fetched 2026-05-07 03:39:45
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
2
Timeline (top)
commented ×1

Error Message

Health check failed: GatewayClientRequestError: Error: Cannot find module "/home/claw/.npm-global/lib/node_modules/openclaw/dist/task-registry.maintenance-D6pHN-y9.js" imported from /home/claw/.npm-global/lib/node_modules/openclaw/dist/status.summary-BTOg8k8X.js: code=ERR_MODULE_NOT_FOUND

Code Example

Health check failed: GatewayClientRequestError: Error: Cannot find module "/home/claw/.npm-global/lib/node_modules/openclaw/dist/task-registry.maintenance-D6pHN-y9.js" imported from /home/claw/.npm-global/lib/node_modules/openclaw/dist/status.summary-BTOg8k8X.js: code=ERR_MODULE_NOT_FOUND
RAW_BUFFERClick to expand / collapse

Environment

  • OpenClaw: 2026.5.4 (325df3e)
  • Node: v22.22.2
  • npm: 10.9.7
  • Platform: Linux 7.0.0-15-generic (x64)
  • Install method: npm global

Issue

openclaw doctor --non-interactive reports a health check failure due to a missing module.

Error Output

Health check failed: GatewayClientRequestError: Error: Cannot find module "/home/claw/.npm-global/lib/node_modules/openclaw/dist/task-registry.maintenance-D6pHN-y9.js" imported from /home/claw/.npm-global/lib/node_modules/openclaw/dist/status.summary-BTOg8k8X.js: code=ERR_MODULE_NOT_FOUND

Diagnosis

  • status.summary-BTOg8k8X.js references task-registry.maintenance-D6pHN-y9.js
  • Actual files in dist/ use different hashes:
    • task-registry.maintenance-BYzPtA0L.js
    • task-registry.maintenance-C3oM5KWF.js

The hash D6pHN-y9 does not exist in the installed dist/ directory.

Impact

  • openclaw doctor health check fails
  • Core functionality appears unaffected (gateway running, sessions work)
  • This suggests a build artifact mismatch in the v2026.5.4 npm package

Steps to Reproduce

  1. Install openclaw v2026.5.4 via npm
  2. Run openclaw doctor --non-interactive
  3. Observe the health check failure

Additional Context

  • Gateway is running normally on port 18789
  • All 6 plugins loaded without errors
  • Sub-agents (codex, ops, fin, docs) are functional
  • No issues reported in normal operation

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING