openclaw - 💡(How to fix) Fix [Bug]: Feishu channel fails to start with "Cannot find module openclaw/plugin-sdk/text-runtime" in 2026.4.22 [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#70683Fetched 2026-04-24 05:54:45
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×2closed ×1commented ×1

After upgrading from 2026.4.15 to 2026.4.22, both Feishu channel accounts immediately exit on startup with Cannot find module openclaw/plugin-sdk/text-runtime and enter a permanent auto-restart loop.

Error Message

following error on each attempt:

Root Cause

After upgrading from 2026.4.15 to 2026.4.22, both Feishu channel accounts immediately exit on startup with Cannot find module openclaw/plugin-sdk/text-runtime and enter a permanent auto-restart loop.

Fix Action

Fix / Workaround

Last known good: 2026.4.15. First known bad: 2026.4.22 (2026.4.18–2026.4.21 not tested). Workaround: roll back to 2026.4.15.

Code Example

2026-04-24T00:13:25.531+08:00 [feishu] [main] channel exited: Cannot find module
    '/home/node/.openclaw/plugin-runtime-deps/openclaw-2026.4.22-f53b52ad6d21/node_modules/openclaw/plugin-sdk/text-runt
  ime'
    imported from
    '/home/node/.openclaw/plugin-runtime-deps/openclaw-2026.4.22-f53b52ad6d21/dist/extensions/feishu/conversation-id-DWS
  3Ep2A.js'
    Did you mean to import "openclaw/plugin-sdk/text-runtime.js"?
  2026-04-24T00:13:25.534+08:00 [feishu] [main] auto-restart attempt 1/10 in 5s
  2026-04-24T00:13:25.536+08:00 [feishu] [muse] auto-restart attempt 1/10 in 5s

  The feishu extension bundle imports openclaw/plugin-sdk/text-runtime without .js. The extracted plugin-runtime-deps
  package.json has "./plugin-sdk/*": "./plugin-sdk/*.js" in exports, but Node.js 24 fails to resolve it. The file
  text-runtime.js exists in the image at /app/dist/extensions/node_modules/openclaw/plugin-sdk/text-runtime.js but is
  not accessible from the plugin subprocess context.
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After upgrading from 2026.4.15 to 2026.4.22, both Feishu channel accounts immediately exit on startup with Cannot find module openclaw/plugin-sdk/text-runtime and enter a permanent auto-restart loop.

Steps to reproduce

  1. Deploy ghcr.io/openclaw/openclaw:2026.4.22 with at least one Feishu account configured in channels.feishu.
  2. Start the gateway.
  3. Observe the Feishu channel process exiting within ~30 seconds of starting channels and sidecars....

Expected behavior

In 2026.4.15, Feishu channels start normally and establish WebSocket connections with no module errors.

Actual behavior

Both Feishu accounts (main, muse) immediately exit and auto-restart up to 10 times before giving up, with the following error on each attempt: [feishu] [main] channel exited: Cannot find module '/home/node/.openclaw/plugin-runtime-deps/openclaw-2026.4.22-f53b52ad6d21/node_modules/openclaw/plugin-sdk/text-runtim e' imported from '/home/node/.openclaw/plugin-runtime-deps/openclaw-2026.4.22-f53b52ad6d21/dist/extensions/feishu/conversation-id-DWS3E p2A.js' Did you mean to import "openclaw/plugin-sdk/text-runtime.js"?

OpenClaw version

2026.4.22 (regresses from 2026.4.15)

Operating system

Linux (Kubernetes, Node.js 24.14.0)

Install method

Docker / Kubernetes

Model

openrouter/qwen/qwen3.6-plus

Provider / routing chain

openclaw -> openrouter -> qwen

Additional provider/model setup details

No response

Logs, screenshots, and evidence

2026-04-24T00:13:25.531+08:00 [feishu] [main] channel exited: Cannot find module
    '/home/node/.openclaw/plugin-runtime-deps/openclaw-2026.4.22-f53b52ad6d21/node_modules/openclaw/plugin-sdk/text-runt
  ime'
    imported from
    '/home/node/.openclaw/plugin-runtime-deps/openclaw-2026.4.22-f53b52ad6d21/dist/extensions/feishu/conversation-id-DWS
  3Ep2A.js'
    Did you mean to import "openclaw/plugin-sdk/text-runtime.js"?
  2026-04-24T00:13:25.534+08:00 [feishu] [main] auto-restart attempt 1/10 in 5s
  2026-04-24T00:13:25.536+08:00 [feishu] [muse] auto-restart attempt 1/10 in 5s

  The feishu extension bundle imports openclaw/plugin-sdk/text-runtime without .js. The extracted plugin-runtime-deps
  package.json has "./plugin-sdk/*": "./plugin-sdk/*.js" in exports, but Node.js 24 fails to resolve it. The file
  text-runtime.js exists in the image at /app/dist/extensions/node_modules/openclaw/plugin-sdk/text-runtime.js but is
  not accessible from the plugin subprocess context.

Impact and severity

  • Affected: all users with Feishu channels on 2026.4.22
  • Severity: High — Feishu is completely non-functional, no messages can be received or sent
  • Frequency: 100% reproducible on every startup
  • Consequence: Full loss of Feishu channel functionality

Additional information

Last known good: 2026.4.15. First known bad: 2026.4.22 (2026.4.18–2026.4.21 not tested). Workaround: roll back to 2026.4.15.

extent analysis

TL;DR

The most likely fix is to update the import statement in the Feishu extension bundle to include the .js extension when importing openclaw/plugin-sdk/text-runtime.

Guidance

  • Verify that the text-runtime.js file exists in the image at /app/dist/extensions/node_modules/openclaw/plugin-sdk/text-runtime.js and is accessible from the plugin subprocess context.
  • Update the import statement in the Feishu extension bundle to openclaw/plugin-sdk/text-runtime.js to match the file name.
  • Consider testing the fix with Node.js 24.14.0 to ensure compatibility.
  • If the issue persists, try rolling back to version 2026.4.15 as a temporary workaround.

Example

No code snippet is provided as the issue is related to a specific import statement that needs to be updated.

Notes

The issue seems to be related to a change in Node.js 24 that affects how modules are resolved. The exports field in the package.json file of the plugin-runtime-deps package may need to be updated to include the .js extension.

Recommendation

Apply the workaround by rolling back to version 2026.4.15 until a permanent fix is available, as the issue is fully reproducible and causes a complete loss of Feishu channel functionality.

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

In 2026.4.15, Feishu channels start normally and establish WebSocket connections with no module errors.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING