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/mallory and install dependencies.
git clone https://github.com/darkresearch/mallory.git
cd mallory
bun install
- Configure
.env files as described in the README (apps/client/.env, apps/server/.env, and the root .env for OPENMEMORY_* 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/backend before running the script?
- Happy to open a PR updating the docs once the expected flow is clarified.
Summary
After following the setup instructions and running
./services/openmemory-setup.sh, the script fails becausebun run buildcannot find abuildscript insideservices/openmemory/backend. The directory only contains the generated.env, so the build step never succeeds.Steps to Reproduce
darkresearch/malloryand install dependencies.git clone https://github.com/darkresearch/mallory.git cd mallory bun install.envfiles as described in the README (apps/client/.env,apps/server/.env, and the root.envforOPENMEMORY_*values).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:
services/openmemory/backendonly contains.env; there are no sources orpackage.json, so Bun can’t runbuild. The.gitignoreentry (services/openmemory/) suggests this directory is meant to be populated locally, but the README doesn’t explain how, leaving new users stuck.Environment
darkresearch/mallory(main, November 2025)Additional Context / Questions
services/openmemory/backendbefore running the script?