#setup problem

1 messages · Page 1 of 1 (latest)

glad radish
#

12:24:01 [plugins] whatsapp failed to load setup entry from /home/ubuntu/.npm-global/lib/node_modules/openclaw/dist/extensions/whatsapp/index.js: Error: Cannot find module '@whiskeysockets/baileys'
Require stack:

  • /home/ubuntu/.npm-global/lib/node_modules/openclaw/dist/extensions/whatsapp/auth-store-DY1p5mrF.js

@twin otter

still hornetBOT
#

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

haughty nexusBOT
twin otterBOT
#

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 --version
  • openclaw doctor --fix
  • openclaw status --all
glad radish
#
[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)
twin otterBOT
#

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