#Bug: openclaw message send --channel telegram broken โ€” jiti staging missing dist/babel.cjs

1 messages ยท Page 1 of 1 (latest)

alpine anvil
#

Version: 2026.4.29 (a448042) | Ubuntu 24.04 | npm install

Every invocation fails at plugin registration with:

Cannot find module '../dist/babel.cjs'
Require stack: .../plugin-runtime-deps/openclaw-2026.4.29-4eca5026e977/node_modules/jiti/lib/jiti.mjs

Staging installs jiti@^2.6.1 but dist/ is absent. Older staging dir (67e811bb8931, created May 2) has the file; newer dir (4eca5026e977, created May 14) doesn't. Appears to be a jiti packaging regression. Full report on GitHub issues. Workaround: direct Bot API via curl.

twilit sapphireBOT
#

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

dense stagBOT
steep patrolBOT
# alpine anvil Version: 2026.4.29 (a448042) | Ubuntu 24.04 | npm install Every invocation fail...

Thanks for the tight report. I checked the current docs/source path and one useful detail: jiti@2.6.1 on npm does include dist/babel.cjs, so this looks less like the published jiti tarball missing files and more like OpenClaw's staged bundled-plugin runtime deps ending up incomplete/corrupt in that specific plugin-runtime-deps/openclaw-2026.4.29-... directory.

A reasonable non-destructive local repair to try is:

openclaw doctor --fix
openclaw gateway restart

If that still reuses the bad staged dir, move that one hashed staging directory aside rather than deleting it, then rerun doctor:

mv ~/.openclaw/plugin-runtime-deps/openclaw-2026.4.29-4eca5026e977 \
   ~/.openclaw/plugin-runtime-deps/openclaw-2026.4.29-4eca5026e977.bad
openclaw doctor --fix
openclaw gateway restart

Docs context: doctor is supposed to repair missing bundled plugin runtime deps, and root-owned/global npm installs stage those deps under a writable runtime directory:

steep patrolBOT
alpine anvil
#

WOWOWOW - AMAZING - so quick youre reply and spot on. -All good. Script is back on the native command, confirmed working. Thanks โ€” that was a solid quick fix.

steep patrolBOT