Bug type
Behavior bug (incorrect output/state without crash)
Summary
After cloning the repo and building the Docker image locally, the Telegram plugin fails to load on every gateway start with the following error:
[plugins] telegram failed to load from /app/extensions/telegram/index.ts: Error: Cannot find module '../../../src/infra/outbound/deliver.js'
Require stack:
- /app/extensions/telegram/src/channel.ts
The file src/infra/outbound/deliver.js is referenced in /app/extensions/telegram/src/channel.ts at line 46:
typescript} from "../../../src/infra/outbound/deliver.js";
However, this file is never compiled into the dist/ output. Running find /app/dist -name "deliver.js" returns nothing. Running find /app/src/infra/outbound -type f returns No such file or directory.
Steps to reproduce
- Clone the repo: git clone https://github.com/openclaw/openclaw.git
- Build the Docker image: docker build --no-cache -t openclaw:local -f Dockerfile .
- Run docker-setup.sh and complete onboarding with Telegram enabled
- Start the gateway: docker compose up -d
- Check logs: docker compose logs openclaw-gateway
Expected behavior
Telegram plugin loads successfully and the bot responds to messages.
Actual behavior
Telegram plugin fails to load on every restart. The bot does not respond to any messages.
OpenClaw version
2026.3.14
Operating system
Ubuntu 24
Install method
docker
Model
arcee-ai/trinity-large-preview:free
Provider / routing chain
OpenRouter (free tier) → arcee-ai/trinity-large-preview:free
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Behavior bug (incorrect output/state without crash)
Summary
After cloning the repo and building the Docker image locally, the Telegram plugin fails to load on every gateway start with the following error:
[plugins] telegram failed to load from /app/extensions/telegram/index.ts: Error: Cannot find module '../../../src/infra/outbound/deliver.js'
Require stack:
The file src/infra/outbound/deliver.js is referenced in /app/extensions/telegram/src/channel.ts at line 46:
typescript} from "../../../src/infra/outbound/deliver.js";
However, this file is never compiled into the dist/ output. Running find /app/dist -name "deliver.js" returns nothing. Running find /app/src/infra/outbound -type f returns No such file or directory.
Steps to reproduce
Expected behavior
Telegram plugin loads successfully and the bot responds to messages.
Actual behavior
Telegram plugin fails to load on every restart. The bot does not respond to any messages.
OpenClaw version
2026.3.14
Operating system
Ubuntu 24
Install method
docker
Model
arcee-ai/trinity-large-preview:free
Provider / routing chain
OpenRouter (free tier) → arcee-ai/trinity-large-preview:free
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response