## Environment - **OS:** macOS Apple Silicon (arm64) - **Node.js:** v22.x - **Clawdbot:** latest ## Problem `npm install -g clawdbot` completes successfully, but `node-llama-cpp` main package is not installed. Only platform binaries exist. ## Error Message ``` Local embeddings unavailable. Reason: optional dependency node-llama-cpp is missing (or failed to install). Detail: Cannot find package 'node-llama-cpp' imported from ~/.npm-global/lib/node_modules/clawdbot/dist/memory/node-llama.js ``` ## node_modules Status ```bash $ ls node_modules/ | grep llama @node-llama-cpp # ✅ platform binaries exist # node-llama-cpp # ❌ main package missing ``` ## Related Issues - #18839 - FileHandle GC error on Node.js 25 - #17988 - Make node-llama-cpp an optional dependency - #28944 - doctor: false positive - #29318 - memory_search uses Gemini instead of local ## Workaround ```bash clawdbot gateway config.patch '.agents.defaults.memorySearch.provider = "gemini"' ```
Environment
Problem
npm install -g clawdbotcompletes successfully, butnode-llama-cppmain package is not installed. Only platform binaries exist.Error Message
node_modules Status
Related Issues
Workaround
clawdbot gateway config.patch '.agents.defaults.memorySearch.provider = "gemini"'