Skip to content

[Bug] Matrix plugin wizard installation fails with EUNSUPPORTEDPROTOCOL causing duplicate plugin warnings #1839

@shivanshPurple

Description

@shivanshPurple

Bug

clawdbot onboard fails when selecting Matrix channel, leaving incomplete installation that causes duplicate plugin warnings and missing dependencies.

Steps to Reproduce

  1. Run clawdbot onboard
  2. Select Matrix as a channel
  3. Complete wizard
  4. Check clawdbot status

Expected

Matrix plugin installs and loads successfully without warnings.

Actual

Plugin install failed: npm install failed
Config warnings: duplicate plugin id detected
[plugins] matrix failed to load: Error: Cannot find module 'matrix-bot-sdk'

Root Cause

extensions/matrix/package.json contains pnpm workspace syntax that npm can't parse:

"devDependencies": {
  "clawdbot": "workspace:*"
}

When wizard runs npm install, it fails with EUNSUPPORTEDPROTOCOL, leaving an incomplete installation at ~/.clawdbot/extensions/matrix/ while the bundled version already exists.

Impact

Affects all users installing Matrix plugin via wizard. Plugin fails to load despite "successful" installation.

Suggested Fix

Remove devDependencies with workspace syntax from extensions/matrix/package.json:

- "devDependencies": {
-   "clawdbot": "workspace:*"
- }

Environment

  • clawdbot: 2026.1.24-2
  • Node.js: 22.22.0
  • npm: (any version - affects all)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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