-
-
Notifications
You must be signed in to change notification settings - Fork 68.9k
[Bug] Matrix plugin wizard installation fails with EUNSUPPORTEDPROTOCOL causing duplicate plugin warnings #1839
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug
clawdbot onboard fails when selecting Matrix channel, leaving incomplete installation that causes duplicate plugin warnings and missing dependencies.
Steps to Reproduce
- Run
clawdbot onboard - Select Matrix as a channel
- Complete wizard
- 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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.