Summary
On OpenClaw 2026.4.20, a packaged global npm install can be left with missing bundled channel runtime dependencies after the update/rebuild flow. I first hit missing grammy in the Telegram bundled runtime during openclaw update, then after stopping the gateway and running npm rebuild -g openclaw, Telegram moved past that but openclaw doctor failed on missing @whiskeysockets/baileys in the WhatsApp bundled runtime.
This looks like a broader packaged bundled-runtime repair regression rather than a WhatsApp-only issue.
Related issue for the earlier Telegram symptom:
Environment
- OpenClaw:
2026.4.20 (115f05d)
- Previous version:
2026.4.15
- Node:
v22.22.0
- npm:
11.12.1
- Install type: global npm install, not a git checkout
- OS: Ubuntu Linux
Reproduction path
- Run:
- During the update flow, the doctor step fails with missing Telegram runtime dependency:
Error: Cannot find module 'grammy'
Require stack:
/root/.nvm/versions/node/v22.22.0/lib/node_modules/openclaw/dist/extensions/telegram/allowed-updates-BD2bJyzD.js
- Then try recovery:
openclaw gateway stop
npm rebuild -g openclaw
openclaw gateway start
openclaw doctor
npm rebuild -g openclaw reports success, but openclaw doctor then fails on missing WhatsApp runtime dependency:
Error: Cannot find module '@whiskeysockets/baileys'
Require stack:
/root/.nvm/versions/node/v22.22.0/lib/node_modules/openclaw/dist/extensions/whatsapp/auth-store-DY1p5mrF.js
Actual result
- Update to
2026.4.20 completes, but bundled runtime deps are not consistently available afterwards.
- First symptom is Telegram missing
grammy.
- After rebuild, Telegram no longer appears to be the blocker, but WhatsApp is now missing
@whiskeysockets/baileys.
- So the rebuild/update path appears to leave packaged bundled channel runtimes in a partially repaired state.
Expected result
openclaw update should leave bundled channel runtimes healthy on packaged installs.
npm rebuild -g openclaw should restore bundled plugin/channel runtime deps reliably.
openclaw doctor should not fail on missing bundled runtime deps immediately after a successful rebuild.
Additional evidence
Commands run in terminal:
openclaw update
openclaw gateway stop
npm rebuild -g openclaw
openclaw gateway start
openclaw doctor
Observed versions from the terminal flow:
- OpenClaw updated from
2026.4.15 to 2026.4.20
- Node
v22.22.0
Terminal screenshots confirm:
grammy missing during the post-update doctor path
npm rebuild -g openclaw reported success
@whiskeysockets/baileys missing afterwards during openclaw doctor
Notes
This may be another surface of the same packaged bundled-runtime dependency repair regression discussed in #69837, but I am opening this separately because after rebuild the failure moved from Telegram to WhatsApp, which suggests the underlying issue is broader than a single missing package.
Summary
On OpenClaw
2026.4.20, a packaged global npm install can be left with missing bundled channel runtime dependencies after the update/rebuild flow. I first hit missinggrammyin the Telegram bundled runtime duringopenclaw update, then after stopping the gateway and runningnpm rebuild -g openclaw, Telegram moved past that butopenclaw doctorfailed on missing@whiskeysockets/baileysin the WhatsApp bundled runtime.This looks like a broader packaged bundled-runtime repair regression rather than a WhatsApp-only issue.
Related issue for the earlier Telegram symptom:
Environment
2026.4.20 (115f05d)2026.4.15v22.22.011.12.1Reproduction path
npm rebuild -g openclawreports success, butopenclaw doctorthen fails on missing WhatsApp runtime dependency:Actual result
2026.4.20completes, but bundled runtime deps are not consistently available afterwards.grammy.@whiskeysockets/baileys.Expected result
openclaw updateshould leave bundled channel runtimes healthy on packaged installs.npm rebuild -g openclawshould restore bundled plugin/channel runtime deps reliably.openclaw doctorshould not fail on missing bundled runtime deps immediately after a successful rebuild.Additional evidence
Commands run in terminal:
Observed versions from the terminal flow:
2026.4.15to2026.4.20v22.22.0Terminal screenshots confirm:
grammymissing during the post-update doctor pathnpm rebuild -g openclawreported success@whiskeysockets/baileysmissing afterwards duringopenclaw doctorNotes
This may be another surface of the same packaged bundled-runtime dependency repair regression discussed in #69837, but I am opening this separately because after rebuild the failure moved from Telegram to WhatsApp, which suggests the underlying issue is broader than a single missing package.