-
-
Notifications
You must be signed in to change notification settings - Fork 69.6k
[Bug]: Telegram plugin fails to load after refactor: Cannot find module '../../../src/infra/outbound/deliver.js' #47021
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crash
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crash
Type
Fields
Give feedbackNo fields configured for issues without a type.