Skip to content

msteams plugin: path-to-regexp crash on gateway 2026.3.24 + Node.js 25.8.2 #56479

@columbiaclaw

Description

@columbiaclaw

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/msteams and direct load from dist/extensions/msteams

Steps to Reproduce

  1. Install OpenClaw 2026.3.24 with Node.js 25.8.2
  2. Configure msteams channel with valid credentials
  3. Start gateway
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions