#Failed to install @openclaw/matrix: npm install failed
1 messages · Page 1 of 1 (latest)
That wizard step is just calling the plugin installer (openclaw plugins install @openclaw/matrix). When it only says “install failed” with no details, it’s almost always one of these:
npmisn’t available / isn’t on PATH in that shell- your npm is pointed at a non-npmjs registry (common in corp setups) so
@openclaw/matrix404s - permissions issue under
~/.openclaw(often after running OpenClaw once withsudo)
Can you paste the output of these (they’re the fastest way to pinpoint it)?
openclaw --version
node -v
npm -v
npm config get registry
openclaw plugins install @openclaw/matrix
While you’re waiting, two quick things to try:
1) If your npm registry isn’t npmjs
If npm config get registry is not https://registry.npmjs.org/, set a scoped override (safer than changing your global registry):
npm config set @openclaw:registry https://registry.npmjs.org/
npm view @openclaw/matrix version
openclaw plugins install @openclaw/matrix
2) If you might have a permissions problem
Check ownership:
ls -ld ~/.openclaw ~/.openclaw/extensions 2>/dev/null || true
If those dirs are owned by root, that’ll break installs.