#setup problem
1 messages · Page 1 of 1 (latest)
Let me verify the docs/source before I answer, this looks like a packaging/install issue rather than a WhatsApp config problem.
That looks like a missing WhatsApp runtime dependency, not a bad WhatsApp login.
OpenClaw is loading the WhatsApp setup entry, but @whiskeysockets/baileys is missing from the install. The /home/ubuntu/.npm-global/... path makes me suspect an incomplete global install or skipped dependency staging.
Please check this first:
openclaw --version
Then try:
openclaw doctor --fix
openclaw status --all
If you're on 2026.4.9 or older, I’d update next:
openclaw update
On newer builds, if WhatsApp is still missing after the update/doctor pass, you can also install the channel plugin explicitly:
openclaw plugins install @openclaw/whatsapp
If it still blows up, paste the output of:
openclaw --versionopenclaw doctor --fixopenclaw status --all
[openclaw] Failed to start CLI: Error: Cannot find module '@whiskeysockets/baileys'
Require stack:
- /home/ubuntu/.npm-global/lib/node_modules/openclaw/dist/extensions/whatsapp/auth-store-DY1p5mrF.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
at Function.resolve (node:internal/modules/helpers:157:19)
I dug a bit deeper, and since the CLI itself is crashing, I’m checking the packaged runtime path rather than assuming doctor can run.
Yep, this changes the diagnosis a bit.
openclaw itself is crashing during bundled WhatsApp plugin load, so doctor and update from inside the CLI are not the first move anymore. This is an install/runtime-deps problem.
I would repair the install from outside the CLI:
curl -fsSL https://openclaw.ai/install.sh | bash
Then check:
openclaw --version
openclaw status
If that comes back clean but WhatsApp still complains on newer builds, then run:
openclaw plugins install @openclaw/whatsapp
I would not debug config yet, the package itself looks incomplete.
Docs:
- https://docs.openclaw.ai/help/faq
- https://docs.openclaw.ai/install
- https://docs.openclaw.ai/install/updating
- https://docs.openclaw.ai/channels/whatsapp
If the reinstall still fails, paste:
- the first install error
openclaw --version