-
-
Notifications
You must be signed in to change notification settings - Fork 69.3k
memory-lancedb plugin: missing @lancedb/lancedb dependency after npm install #26100
Copy link
Copy link
Closed
Closed
Copy link
Labels
staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
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 restartEnvironment
- OpenClaw: 2026.2.23
- Node: v22.22.0
- OS: Ubuntu Linux 6.8.0-100-generic (x64)
- Install method: npm global
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Give feedbackNo fields configured for issues without a type.