Skip to content

[Bug]: Matrix plugin install yields - Error: Cannot find module '@matrix-org/matrix-sdk-crypto-nodejs-linux-x64-gnu' #31928

@danudata

Description

@danudata

Bug type

Regression (worked before, now fails)

Summary

After upgrading to version 2026.3.1 (2a8ac97) I had some problems with the Matrix plugin. Deleted it from .openclaw/extensions/matrix and downloaded again using openclaw plugins install @openclaw/matrix.

When I tried to run openclaw, I got the error:

16:43:24 [plugins] matrix failed to load from /home/openclaw/.openclaw/extensions/matrix/index.ts: Error: Cannot find module '@matrix-org/matrix-sdk-crypto-nodejs-linux-x64-gnu'
Require stack:
- /home/openclaw/.openclaw/extensions/matrix/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.js

Steps to reproduce

  1. update to version 2026.3.1
  2. install the matrix plugin with openclaw plugins install @openclaw/matrix
  3. execute openclaw status

Expected behavior

Matrix plugin should work without any need to install additional files.

Actual behavior

see logs below:

openclaw@hostname:~/.openclaw/extensions/matrix$ openclaw status

🦞 OpenClaw 2026.3.1 (2a8ac97) — I'll butter your workflow like a lobster roll: messy, delicious, effective.

16:43:24 [plugins] matrix failed to load from /home/openclaw/.openclaw/extensions/matrix/index.ts: Error: Cannot find module '@matrix-org/matrix-sdk-crypto-nodejs-linux-x64-gnu'
Require stack:
- /home/openclaw/.openclaw/extensions/matrix/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.js

OpenClaw version

2026.3.1

Operating system

Ubuntu 25.10

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

A workaround is to install the required file manually:

  1. go into .openclaw/extensions/matrix
  2. execute node node_modules/@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js
  3. downloads the required library for your platform to node_modules/@matrix-org/matrix-sdk-crypto-nodejs/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    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