ClawKit Logo
ClawKitReliability Toolkit

How to Fix "Cannot find module @larksuiteoapi/node-sdk" in OpenClaw

TL;DR โ€” Quick Fix

Run `npm install` inside the feishu extension directory to install missing Node.js dependencies for the Feishu integration.

Run Diagnostics

Next Step

Fix now, then reduce repeat incidents

If this issue keeps coming back, validate your setup in Doctor first, then harden your config.

Error Signal

Error: Cannot find module '@larksuiteoapi/node-sdk'

What's Happening

You're encountering an error during OpenClaw's Feishu onboarding process, specifically when trying to configure Feishu as a channel. The error message Error: Cannot find module '@larksuiteoapi/node-sdk' indicates that a required Node.js package for the Feishu integration is missing.

This usually happens after updating OpenClaw to a newer version, where the dependencies for specific plugins might not be installed automatically or correctly. The Feishu plugin relies on @larksuiteoapi/node-sdk, and if this isn't found in your Node.js environment, the plugin fails to load.

The Fix

The quickest way to resolve this is to manually install the missing Node.js dependencies for the Feishu extension. Find the directory where OpenClaw installs its extensions. Based on the error, this is likely /usr/lib/node_modules/openclaw/extensions/feishu or a similar path depending on your global npm installation location.

Run the following commands:

cd /usr/lib/node_modules/openclaw/extensions/feishu
npm install

This command navigates you into the feishu extension's directory and then runs npm install to download and install all the packages listed in its package.json, including the missing @larksuiteoapi/node-sdk.

An alternative suggested by a community member is to try running openclaw tui. This command might trigger an automatic repair process for your OpenClaw installation, including its plugins. If the npm install method above doesn't work, give openclaw tui a try.

Why This Occurs

When you install OpenClaw globally via npm (npm install -g openclaw), it installs the core package. However, the extensions or plugins for features like Feishu might require their own dependencies that aren't always bundled or installed automatically with the main package, especially after updates. The update to OpenClaw 2026.3.7 likely changed or updated the Feishu plugin's requirements, leading to this missing dependency issue if the environment wasn't updated accordingly.

Prevention

Always check the release notes for new OpenClaw versions, especially if you rely on specific integrations like Feishu. Sometimes, manual steps or additional npm install commands might be required for plugins after an upgrade. Ensure your global Node.js environment and npm packages are up-to-date. Regularly running npm update -g openclaw might help, but be prepared to manually install dependencies for specific extensions if issues arise.


Last Updated: March 2026

Did this guide solve your problem?