openclaw - 💡(How to fix) Fix [Bug]: Cannot find module '@larksuiteoapi/node-sdk' [7 comments, 5 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#70587Fetched 2026-04-24 05:56:02
View on GitHub
Comments
7
Participants
5
Timeline
12
Reactions
0
Author
Timeline (top)
commented ×7cross-referenced ×3closed ×1labeled ×1

Trying to install Openclaw on ubuntu (actuall version: v2026.4.21) then crash because of modules not founded - Start by feishu then others following with same error message "can not find module"

Error Message

Trying to install Openclaw on ubuntu (actuall version: v2026.4.21) then crash because of modules not founded - Start by feishu then others following with same error message "can not find module" Error: Cannot find module '@larksuiteoapi/node-sdk' Expected a smooth install but ended with endless "modules error"

Root Cause

Trying to install Openclaw on ubuntu (actuall version: v2026.4.21) then crash because of modules not founded - Start by feishu then others following with same error message "can not find module"

RAW_BUFFERClick to expand / collapse

Bug type

Crash (process/app exits or hangs)

Beta release blocker

No

Summary

Trying to install Openclaw on ubuntu (actuall version: v2026.4.21) then crash because of modules not founded - Start by feishu then others following with same error message "can not find module"

Steps to reproduce

curl -fsSL https://openclaw.ai/install.sh | bash

🦞 OpenClaw Installer I'm not magic—I'm just extremely persistent with retries and coping strategies.

✓ Detected: linux

Install plan OS: linux Install method: npm Requested version: latest

[1/3] Preparing environment ✓ Node.js v24.14.1 found · Active Node.js: v24.14.1 (/usr/bin/node) · Active npm: 11.11.0 (/usr/bin/npm)

[2/3] Installing OpenClaw · Git not found, installing it now ✓ Git installed · Configuring npm for user-local installs ✓ npm configured for user installs · Installing OpenClaw v2026.4.21 ✓ OpenClaw npm package installed ✓ OpenClaw installed

[3/3] Finalizing setup

! PATH missing npm global bin dir: /home/MYUSER/.npm-global/bin This can make openclaw show as "command not found" in new terminals. Fix (zsh: ~/.zshrc, bash: ~/.bashrc): export PATH="/home/MYUSER/.npm-global/bin:$PATH"

🦞 OpenClaw installed successfully (OpenClaw 2026.4.21 (f788c88))! Home sweet home. Don't worry, I won't rearrange the furniture.

· Starting setup

13:09:31 [plugins] amazon-bedrock installed bundled runtime deps: @aws-sdk/[email protected] 13:09:40 [plugins] amazon-bedrock-mantle installed bundled runtime deps: @aws/bedrock-token-generator@^1.1.0

🦞 OpenClaw 2026.4.21 (f788c88) — The lobster in your shell. 🦞

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██ ██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██ ██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 🦞 OPENCLAW 🦞

┌ OpenClaw setup │ ◇ Security disclaimer ────────────────────────────────────────────────────╮ │ │ │ ⚠ OpenClaw is in Beta - expect sharp edges │ │ - By default, OpenClaw is a personal agent: one trusted operator │ │ boundary. │ │ - This bot can read files and run actions if tools are enabled. │ │ - A bad prompt can trick it into doing unsafe things. │ │ │ │ How OpenClaw treats trust │ │ - OpenClaw is not a hostile multi-tenant boundary by default. │ │ - If multiple users can message one tool-enabled agent, they share │ │ that delegated tool authority. │ │ │ │ When not to run OpenClaw │ │ - If you’re not comfortable with security hardening and access │ │ control, don’t run OpenClaw. │ │ - Ask someone experienced to help before enabling tools or exposing it │ │ to the internet. │ │ │ │ Recommended baseline │ │ - Pairing/allowlists + mention gating. │ │ - Multi-user/shared inbox: split trust boundaries (separate │ │ gateway/credentials, ideally separate OS users/hosts). │ │ - Sandbox + least-privilege tools. │ │ - Shared inboxes: isolate DM sessions (session.dmScope: │ │ per-channel-peer) and keep tool access minimal. │ │ - Keep secrets out of the agent’s reachable filesystem. │ │ - Use the strongest available model for any bot with tools or │ │ untrusted inboxes. │ │ │ │ Run regularly │ │ openclaw security audit --deep │ │ openclaw security audit --fix │ │ │ │ Learn more │ │ - https://docs.openclaw.ai/gateway/security │ │ │ ├──────────────────────────────────────────────────────────────────────────╯ │ ◇ I understand this is personal-by-default and shared/multi-user use │ requires lock-down. Continue? │ Yes 13:10:13 [plugins] acpx installed bundled runtime deps: [email protected] 13:10:19 [plugins] browser installed bundled runtime deps: [email protected] 13:10:21 [plugins] microsoft installed bundled runtime deps: node-edge-tts@^1.2.10 │ ◇ Setup mode │ QuickStart │ ◇ QuickStart ─────────────────────────╮ │ │ │ Gateway port: 18789 │ │ Gateway bind: Loopback (127.0.0.1) │ │ Gateway auth: Token (default) │ │ Tailscale exposure: Off │ │ Direct to chat channels. │ │ │ ├──────────────────────────────────────╯ │ ◇ Model/auth provider │ Ollama │ ◇ Ollama mode │ Cloud + Local │ ◇ Ollama base URL │ http://127.0.0.1:11434 │ ◇ Ollama Cloud + Local ───────────────────────────────────────────────────────╮ │ │ │ Cloud models on this Ollama host need ollama signin. │ │ https://ollama.com/connect?name=MYNAME&key=KEY │ │ │ │ Continuing with local models only for now. │ │ │ ├──────────────────────────────────────────────────────────────────────────────╯ │ │ ◇ Default model │ Keep current (default: ollama/gemma4) Error: Cannot find module '@larksuiteoapi/node-sdk' Require stack:

  • /home/MYUSER/.npm-global/lib/node_modules/openclaw/dist/extensions/feishu/client-yWGpoGkZ.js

Expected behavior

Expected a smooth install but ended with endless "modules error"

Actual behavior

Installation impossible

OpenClaw version

OpenClaw 2026.4.21 (f788c88)

Operating system

Ubuntu 24.04.4 LTS

Install method

curl -fsSL https://openclaw.ai/install.sh | bash

Model

Ollama Cloud + Local - Gemma4

Provider / routing chain

openclaw -> start install -> fail

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

Severity: High - block installation

Additional information

Fresh ubuntu installation

<img width="558" height="397" alt="Image" src="https://github.com/user-attachments/assets/61c68c05-11bd-49cc-8fec-548817f8faa9" />

extent analysis

TL;DR

The issue is likely due to a missing module, specifically @larksuiteoapi/node-sdk, which is required by the Feishu client in OpenClaw.

Guidance

  • Verify that the @larksuiteoapi/node-sdk module is installed by running npm install @larksuiteoapi/node-sdk in the OpenClaw installation directory.
  • Check the package.json file in the OpenClaw installation directory to ensure that @larksuiteoapi/node-sdk is listed as a dependency.
  • If the issue persists, try reinstalling OpenClaw using the installation script and see if the module is installed correctly.
  • Review the OpenClaw documentation to ensure that all dependencies are properly installed and configured.

Notes

The issue seems to be related to a specific module not being installed, which is required by the Feishu client in OpenClaw. The provided installation script and logs do not indicate any issues with the installation process itself, but rather a missing dependency.

Recommendation

Apply workaround: manually install the missing @larksuiteoapi/node-sdk module using npm, and then retry the OpenClaw installation.

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

Expected a smooth install but ended with endless "modules error"

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]: Cannot find module '@larksuiteoapi/node-sdk' [7 comments, 5 participants]