openclaw - 💡(How to fix) Fix [Bug]: openclaw-plugin-yuanbao missing yuanbaoUpgradeCommand export causes plugin register to fail

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…

The Yuanbao channel plugin (openclaw-plugin-yuanbao) fails to register during gateway startup with the following error:

Error: missing export "yuanbaoUpgradeCommand" from bundled entry module ./api.js

This causes the gateway to fail to initialize the yuanbao plugin, making the channel unusable.

Error Message

Error: missing export "yuanbaoUpgradeCommand" from bundled entry module ./api.js

Root Cause

The Yuanbao channel plugin (openclaw-plugin-yuanbao) fails to register during gateway startup with the following error:

Error: missing export "yuanbaoUpgradeCommand" from bundled entry module ./api.js

This causes the gateway to fail to initialize the yuanbao plugin, making the channel unusable.

Code Example

Error: missing export "yuanbaoUpgradeCommand" from bundled entry module ./api.js

---

[plugins] yuanbao failed during register: Error: missing export "yuanbaoUpgradeCommand" from bundled entry module ./api.js
[plugins] 1 plugin(s) failed to initialize (register: yuanbao)
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Summary

The Yuanbao channel plugin (openclaw-plugin-yuanbao) fails to register during gateway startup with the following error:

Error: missing export "yuanbaoUpgradeCommand" from bundled entry module ./api.js

This causes the gateway to fail to initialize the yuanbao plugin, making the channel unusable.

Steps to reproduce

  1. Install openclaw-plugin-yuanbao (version 2.x)
  2. Start or restart the OpenClaw gateway
  3. Observe the plugin registration failure

Expected behavior

The yuanbao plugin should register successfully and connect to the YuanBao WebSocket gateway.

Actual behavior

Gateway logs show:

[plugins] yuanbao failed during register: Error: missing export "yuanbaoUpgradeCommand" from bundled entry module ./api.js
[plugins] 1 plugin(s) failed to initialize (register: yuanbao)

OpenClaw version

v2026.5.3 (latest)

Operating system

Windows 11

Plugin version

[email protected]

Additional information

  • This error appeared after upgrading OpenClaw core, suggesting the plugin SDK may have added a required yuanbaoUpgradeCommand export that the plugin has not yet implemented.
  • Other channel plugins load fine — only yuanbao fails.
  • Related to issue #77441 which shows yuanbao auto-enable plugin ID resolution issues.

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 yuanbao plugin should register successfully and connect to the YuanBao WebSocket gateway.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: openclaw-plugin-yuanbao missing yuanbaoUpgradeCommand export causes plugin register to fail