openclaw - 💡(How to fix) Fix [Bug] Telegram plugin crashes on Windows with ESM file:// URL error [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72142Fetched 2026-04-27 05:34:17
View on GitHub
Comments
2
Participants
3
Timeline
4
Reactions
0
Timeline (top)
commented ×2closed ×1cross-referenced ×1

Error Message

Telegram plugin fails to start on Windows with the following error: 2026-04-26T11:37:18.756Z error gateway/channels/telegram [default] channel exited: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

Fix Action

Fix / Workaround

Workaround: Disable Telegram in config (\channels.telegram.enabled: false) until fixed.

RAW_BUFFERClick to expand / collapse

Environment:

  • OS: Windows 10.0.26200 (x64)
  • OpenClaw version: 2026.4.24
  • Node: v24.13.0

Issue: Telegram plugin fails to start on Windows with the following error:

\
Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:' \\

Logs: \
2026-04-26T11:37:18.753Z info gateway/channels/telegram [default] starting provider (@B_Claudebot) 2026-04-26T11:37:18.756Z error gateway/channels/telegram [default] channel exited: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:' 2026-04-26T11:37:18.760Z info gateway/channels/telegram [default] auto-restart attempt 6/10 in 169s \\

Impact: Telegram channel is completely non-functional on Windows. Plugin enters crash-restart loop.

Expected: Windows paths should be converted to \ ile:///C:/...\ format for ESM imports.

Workaround: Disable Telegram in config (\channels.telegram.enabled: false) until fixed.

extent analysis

TL;DR

The Telegram plugin fails to start on Windows due to an issue with absolute paths not being converted to valid file:// URLs, and a workaround is to disable the Telegram channel in the config.

Guidance

  • The error message indicates that the ESM loader only supports URLs with schemes file, data, and node, and absolute paths on Windows must be valid file:// URLs.
  • To fix the issue, Windows paths need to be converted to the file:///C:/... format for ESM imports.
  • Disabling the Telegram channel in the config by setting channels.telegram.enabled to false can serve as a temporary workaround.
  • Verify the fix by checking if the Telegram plugin starts successfully after applying the conversion or workaround.

Example

No code snippet is provided as the issue does not imply a specific code change, but rather a configuration or conversion issue.

Notes

The issue seems to be specific to the OpenClaw version 2026.4.24 and Node version v24.13.0 on Windows 10.0.26200 (x64), and the provided workaround may not be applicable to other environments or versions.

Recommendation

Apply the workaround by disabling the Telegram channel in the config until a proper fix is available, as it allows the system to function without the Telegram plugin entering a crash-restart loop.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING