#Missing node module when running `openclaw status`?

1 messages · Page 1 of 1 (latest)

modern bridge
#

It's erroring out with: [openclaw] Failed to start CLI: Error: Cannot find module '@larksuiteoapi/node-sdk'

quick agateBOT
narrow apexBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

quick agateBOT
remote lanternBOT
#

I’m checking the docs and source so I don’t guess the fix.

#

That module is the Feishu/Lark SDK. Usually this means your install is missing a bundled plugin runtime dependency.

A good first pass is:

openclaw --version
openclaw doctor --fix

A couple notes:

  • If you are not using Feishu/Lark, openclaw status should not really be hard-crashing on that in newer builds, so version matters here.
  • Recent releases added repair logic for missing bundled plugin deps and also fixed unused channel/plugin loads crashing CLI startup.

If doctor --fix complains about permissions on a packaged/npm install, set a writable stage dir and retry:

modern bridge
#

4.21 is the version. nothing in the doctor output around the lib @larksuiteoapi/node-sdk

remote lanternBOT
#

I’m checking whether 2026.4.21 predates the fix, because that would explain why doctor stays quiet here.

#

Yeah, I think 2026.4.21 is the clue.

That error is Feishu/Lark's SDK, and there were follow-up fixes after 2026.4.21 for:

  • read-only CLI discovery not crashing on broken unused bundled channels
  • packaged installs repairing missing bundled plugin runtime deps more reliably

So if doctor says nothing, you’re probably in that bug window.

I’d try this next:

openclaw update
openclaw doctor --fix
openclaw gateway restart

If it’s a root-owned/global install, give doctor a writable staging dir:

#
export OPENCLAW_PLUGIN_STAGE_DIR="$HOME/.openclaw/plugin-runtime-deps"
openclaw doctor --fix

Docs:

If you don’t use Feishu/Lark, also check whether your config still has a stale channels.feishu block hanging around. That would fit this symptom.

If updating still throws the same error, paste:

  1. the full openclaw --version
  2. whether you installed via openclaw update / npm global / git checkout
  3. whether channels.feishu exists in your config

Then I can narrow it down fast.