openclaw - 💡(How to fix) Fix Bug Report: OpenClaw 4.24 — plugin-runtime-deps External Dependency Repair Incomplete [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#73173Fetched 2026-04-29 06:22:38
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×2closed ×1commented ×1

plugin-runtime-deps cannot handle packages referenced in dist but not in specs清单 (markdown-it,json5,dotenv,tslog,jiti)

Error Message

  1. Upgrade to OpenClaw 4.24\n2. Trigger web_search tool (depends on tavily)\n3. Error: Cannot find package 'xxx' imported from .../dist/xxx.js\n\nError sequence:\n- markdown-it\n- json5\n- dotenv\n- tslog\n- jiti

Root Cause

web_search and other tools fail with 'Cannot find package' errors. External dependency repair mechanism cannot fix these because the missing packages are not in the .openclaw-runtime-deps.json specs list

Fix Action

Fix / Workaround

  1. Upgrade to OpenClaw 4.24\n2. Trigger web_search tool (depends on tavily)\n3. Error: Cannot find package 'xxx' imported from .../dist/xxx.js\n\nError sequence:\n- markdown-it\n- json5\n- dotenv\n- tslog\n- jiti
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

plugin-runtime-deps cannot handle packages referenced in dist but not in specs清单 (markdown-it,json5,dotenv,tslog,jiti)

Steps to reproduce

  1. Upgrade to OpenClaw 4.24\n2. Trigger web_search tool (depends on tavily)\n3. Error: Cannot find package 'xxx' imported from .../dist/xxx.js\n\nError sequence:\n- markdown-it\n- json5\n- dotenv\n- tslog\n- jiti

Expected behavior

The plugin-runtime-deps mechanism should automatically detect and install all packages actually referenced by dist files

Actual behavior

web_search and other tools fail with 'Cannot find package' errors. External dependency repair mechanism cannot fix these because the missing packages are not in the .openclaw-runtime-deps.json specs list

OpenClaw version

2026.4.24

Operating system

Windows

Install method

No response

Model

minimax/MiniMax-M2.7

Provider / routing chain

feishu channel

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The plugin-runtime-deps mechanism needs to be updated to handle packages referenced in dist but not in the specs list, to resolve the 'Cannot find package' errors.

Guidance

  • Review the plugin-runtime-deps configuration to ensure it includes all packages referenced in dist files, such as markdown-it, json5, dotenv, tslog, and jiti.
  • Verify that the .openclaw-runtime-deps.json specs list is up-to-date and includes all required packages.
  • Check if there are any version conflicts or mismatches between the packages in dist and those in the specs list.
  • Consider updating the plugin-runtime-deps mechanism to automatically detect and install packages referenced in dist files.

Example

No code snippet is provided as the issue does not contain sufficient information to create a specific example.

Notes

The issue seems to be related to the plugin-runtime-deps mechanism not handling packages referenced in dist but not in the specs list. The provided information is limited, and further investigation may be required to determine the root cause.

Recommendation

Apply a workaround by manually updating the .openclaw-runtime-deps.json specs list to include all required packages, until a permanent fix is available.

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…

FAQ

Expected behavior

The plugin-runtime-deps mechanism should automatically detect and install all packages actually referenced by dist files

Still need to ship something?

×6

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

Back to top recommendations

TRENDING