-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Summary
After following the setup instructions and running ./services/openmemory-setup.sh, the script fails because bun run build cannot find a build script inside services/openmemory/backend. The directory only contains the generated .env, so the build step never succeeds.
Steps to Reproduce
- Clone
darkresearch/malloryand install dependencies.git clone https://github.com/darkresearch/mallory.git cd mallory bun install - Configure
.envfiles as described in the README (apps/client/.env,apps/server/.env, and the root.envforOPENMEMORY_*values). - Make the setup script executable (if needed) and run it.
chmod +x services/openmemory-setup.sh ./services/openmemory-setup.sh
Expected Result
The script should either finish the OpenMemory build successfully, or clearly instruct the user to fetch the OpenMemory backend before running.
Actual Result
The script stops with:
🚀 Setting up OpenMemory for Mallory...
✅ .env file already exists
🔨 Building OpenMemory...
error: Script not found "build"
services/openmemory/backend only contains .env; there are no sources or package.json, so Bun can’t run build. The .gitignore entry (services/openmemory/) suggests this directory is meant to be populated locally, but the README doesn’t explain how, leaving new users stuck.
Environment
- macOS (Darwin 25.0.0)
- Node.js v23.10.0
- Bun 1.3.2
- Fresh clone of
darkresearch/mallory(main, November 2025)
Additional Context / Questions
- Should the setup script fetch the OpenMemory backend automatically?
- If manual installation is required, could the README include a section describing how to obtain and place the backend code under
services/openmemory/backendbefore running the script? - Happy to open a PR updating the docs once the expected flow is clarified.