#Bug: Telegram plugin fails to load on Windows Desktop install

1 messages · Page 1 of 1 (latest)

placid tapir
#

Environment:

OS: Windows 11 Home
OpenClaw version: 0.7.0+openclaw.2026.4.2
Install type: Desktop app (not git/npm)
What happens:
After adding Telegram config via config.patch, the gateway logs this on every startup:

Copy
[plugins] telegram failed to load from
C:\Program Files\OpenClaw Desktop\resources\openclaw\dist\extensions\telegram\index.js
Error: Cannot find module 'grammy'
Root cause identified:
grammy is installed at:
dist\extensions\telegram\node_modules\grammy

But the ESM bundler (sticker-cache-Cf0p9p0n.js) imports it relative to dist, where it doesn't exist. Manual copy to dist\node_modules\grammy is blocked by file system permissions on the Program Files install path even with admin rights.

Expected behavior: Telegram plugin loads and polls successfully after token is configured.

Workaround: None found for Desktop installs. Git/npm installs may not have this issue.