openclaw - 💡(How to fix) Fix openclaw-lark plugin fails to load after OpenClaw 2026.4.27: Cannot find module openclaw/plugin-sdk/zalouser [2 comments, 3 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#74702Fetched 2026-04-30 06:21:04
View on GitHub
Comments
2
Participants
3
Timeline
3
Reactions
2
Author
Timeline (top)
commented ×2closed ×1

Error Message

Error: Cannot find module /openclaw/dist/plugin-sdk/root-alias.cjs/zalouser

  • /home/goron/.openclaw/extensions/openclaw-lark/src/messaging/inbound/handler.js

Root Cause

The root-alias.cjs in OpenClaw 2026.4.27 does not export a zalouser subpath, but the lark plugin (and likely zalouser itself) depends on require("openclaw/plugin-sdk/zalouser"). This appears to be a breaking change in the plugin SDK between OpenClaw versions.

Code Example

Error: Cannot find module /openclaw/dist/plugin-sdk/root-alias.cjs/zalouser
  - /home/goron/.openclaw/extensions/openclaw-lark/src/messaging/inbound/handler.js

---

const zalouser_1 = require("openclaw/plugin-sdk/zalouser");
RAW_BUFFERClick to expand / collapse

Bug Description

After updating OpenClaw to 2026.4.27, the @larksuite/openclaw-lark plugin (tried versions 2026.4.7 and 2026.4.8) fails to load with the following error:

Error: Cannot find module /openclaw/dist/plugin-sdk/root-alias.cjs/zalouser
  - /home/goron/.openclaw/extensions/openclaw-lark/src/messaging/inbound/handler.js

The plugin handler.js contains:

const zalouser_1 = require("openclaw/plugin-sdk/zalouser");

This subpath openclaw/plugin-sdk/zalouser appears to no longer be exported by the OpenClaw plugin SDK in 2026.4.27.

Environment

  • OpenClaw version: 2026.4.27
  • Plugin version: 2026.4.7 and 2026.4.8 (both fail)
  • Plugin SDK location: ~/.npm-global/lib/node_modules/openclaw/dist/plugin-sdk/
  • zalouser plugin: 2026.3.22 is installed as a separate plugin

What was tried

  1. Installed @openclaw/zalouser plugin separately - did not fix the issue
  2. Updated lark plugin from 2026.4.7 to 2026.4.8 - same error
  3. The zalouser subpath does not exist in dist/plugin-sdk/root-alias.cjs in 2026.4.27

Analysis

The root-alias.cjs in OpenClaw 2026.4.27 does not export a zalouser subpath, but the lark plugin (and likely zalouser itself) depends on require("openclaw/plugin-sdk/zalouser"). This appears to be a breaking change in the plugin SDK between OpenClaw versions.

Expected behavior

The lark plugin should load successfully or provide a clear migration path.

extent analysis

TL;DR

Update the @larksuite/openclaw-lark plugin to use the new export path for zalouser or downgrade OpenClaw to a version that still exports the zalouser subpath.

Guidance

  • Verify the export paths in root-alias.cjs for the zalouser module to determine the correct import path.
  • Check the OpenClaw documentation for any migration guides or release notes that address changes to the plugin SDK exports.
  • Consider downgrading OpenClaw to a version prior to 2026.4.27, where the zalouser subpath was still exported, as a temporary workaround.
  • If the zalouser plugin is installed separately, ensure it is compatible with OpenClaw version 2026.4.27.

Example

No code example is provided as the issue is related to a specific module export path change.

Notes

The solution may require updates to the @larksuite/openclaw-lark plugin to accommodate the changed export path in OpenClaw 2026.4.27. Without access to the OpenClaw plugin SDK documentation or release notes, it's difficult to provide a more specific fix.

Recommendation

Apply workaround: Downgrade OpenClaw to a version prior to 2026.4.27, where the zalouser subpath was still exported, until the @larksuite/openclaw-lark plugin is updated to support the new export path.

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 lark plugin should load successfully or provide a clear migration path.

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 openclaw-lark plugin fails to load after OpenClaw 2026.4.27: Cannot find module openclaw/plugin-sdk/zalouser [2 comments, 3 participants]