-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
msteams plugin: path-to-regexp crash on gateway 2026.3.24 + Node.js 25.8.2 #56479
Copy link
Copy link
Open
Description
Bug
The msteams plugin (v2026.3.22) crashes immediately on startup with:
[default] channel exited: Missing parameter name at index 5: /api*; visit https://git.new/pathToRegexpError for info
The plugin enters a crash-restart loop (auto-restart 1-10/10) and never becomes functional.
Environment
- OpenClaw: 2026.3.24 (cff6dc9)
- Node.js: v25.8.2 (upgraded from v25.7.0)
- OS: macOS (Darwin 25.3.0 arm64)
- Plugin: msteams 2026.3.22 (bundled + ClawHub version)
- Install method: Both
openclaw plugins install @openclaw/msteamsand direct load fromdist/extensions/msteams
Steps to Reproduce
- Install OpenClaw 2026.3.24 with Node.js 25.8.2
- Configure msteams channel with valid credentials
- Start gateway
- Plugin crashes immediately with the path-to-regexp error
Analysis
The error Missing parameter name at index 5: /api* indicates that the Bot Framework SDK (or Express route setup) uses a wildcard pattern /api* that is incompatible with newer versions of path-to-regexp shipped with Node.js 25.8.x or the updated Express dependency.
The breaking change in path-to-regexp v8+ removed support for unnamed wildcard parameters (see https://git.new/pathToRegexpError).
Impact
- msteams channel is completely non-functional
- Does not affect other channels (Discord, etc.)
- All other Teams setup (Azure Bot, manifest, Funnel) works correctly
Expected Behavior
msteams plugin should start and listen on the configured webhook port.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.