Skip to content

[Bug]: Feishu extension fails to load because @larksuiteoapi/node-sdk is missing after install #43355

@lumooncake

Description

@lumooncake

Bug type

Regression (worked before, now fails)

Summary

The Feishu extension fails to load at startup because its runtime dependency @larksuiteoapi/node-sdk is missing after install.

Steps to reproduce

  1. Install OpenClaw with the Feishu extension present.
  2. Start the gateway.
  3. Check the startup logs.
  4. Observe that the Feishu plugin fails to load with "Cannot find module'@larksuiteoapi/node-sdk'".

Expected behavior

If extensions/feishu/package.json declares @larksuiteoapi/node-sdk, the installed Feishu extension should be able to resolve it at runtime and load successfully.

Actual behavior

The dependency is missing from the installed extension runtime, so the Feishu plugin fails to load and startup logs show "Cannot find module'@larksuiteoapi/node-sdk'".

OpenClaw version

2026.3.7

Operating system

macOS 15.7.4

Install method

mac

Model

not model-specific

Provider / routing chain

not provider-specific

Config file / key location

No special config required.

Additional provider/model setup details

This issue appears before normal Feishu plugin runtime and does not seem to depend on provider or model routing.

Logs, screenshots, and evidence

[plugins] feishu failed to load from .../extensions/feishu/index.ts:
  Error: Cannot find module '@larksuiteoapi/node-sdk'
  Require stack:
  - .../extensions/feishu/src/client.ts

Impact and severity

Affected: users who install or run OpenClaw with the Feishu extension
Severity: High (plugin fails to start)
Frequency: Reproduced in affected installs
Consequence: Feishu integration is unavailable until the missing dependency is installed manually

Additional information

The Feishu extension declares @larksuiteoapi/node-sdk in its own package.json,
but the package can still be missing under extensions/feishu/node_modules
after install.

Local workaround:
Run npm install inside .../openclaw/extensions/feishu

This suggests an extension packaging/install-flow issue rather than an end-
user configuration problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions