Bug
After installing OpenClaw via npm, the memory-lancedb plugin fails with:
memory-lancedb: failed to load LanceDB. Error: Cannot find module '@lancedb/lancedb'
Require stack:
- /usr/lib/node_modules/openclaw/extensions/memory-lancedb/index.ts
Cause
extensions/memory-lancedb/package.json lists @lancedb/lancedb as a dependency, but it's not installed in node_modules after npm install -g openclaw.
Likely because the monorepo uses pnpm workspaces and the dependency doesn't get hoisted/bundled when publishing to npm.
Workaround
cd /tmp && npm install @lancedb/lancedb
cp -r /tmp/node_modules/* /usr/lib/node_modules/openclaw/extensions/memory-lancedb/node_modules/
openclaw gateway restart
Environment
- OpenClaw: 2026.2.23
- Node: v22.22.0
- OS: Ubuntu Linux 6.8.0-100-generic (x64)
- Install method: npm global
Bug
After installing OpenClaw via npm, the
memory-lancedbplugin fails with:Cause
extensions/memory-lancedb/package.jsonlists@lancedb/lancedbas a dependency, but it's not installed innode_modulesafternpm install -g openclaw.Likely because the monorepo uses pnpm workspaces and the dependency doesn't get hoisted/bundled when publishing to npm.
Workaround
Environment