[BUG] Unable to create memory
Resolved 💬 3 comments Opened Jul 12, 2025 by DilLip-Chowdary-Codes Closed Nov 30, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.51 (Claude Code)
- Operating System: Linux 6.8.0-60-generic (Ubuntu-based)
- Terminal: Standard terminal
## Bug Description
Claude CLI crashes with "Must use correct memory file path" error when attempting to save memory. The error occurs in the memory management system and results in a Node.js exception.
## Steps to Reproduce
- Use Claude CLI in a project directory with CLAUDE.md file
- Perform operations that trigger memory saving
- CLI crashes with file path validation error
## Expected Behavior
Claude CLI should successfully save memory to the correct CLAUDE.md file path without crashing.
## Actual Behavior
CLI crashes with error:
Error: Must use correct memory file path: /media/ib/a44cb461-777e-452b-8109-10d0056dab73/home/ib-developer/BoringProject/CLAUDE.md
at file:///home/ib/.nvm/versions/node/v20.19.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1965:1009
## Additional Context
- Working directory:
/media/ib/a44cb461-777e-452b-8109-10d0056dab73/home/ib-developer/BoringProject/ - Error suggests path resolution issue in memory management system
- Node.js version: v20.19.3
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗