Skip to content

[Bug]: Cannot find module '@larksuiteoapi/node-sdk' #70587

Description

@Everyways

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

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions