When trying to write a note with basic-memory in Claude Code, I always get an error about "no such module: fts5".
I installed basic-memory initially through homebrew, but I just now tried uninstalling and then reinstalling using the "single step installation" using curl. I've restarted terminal and Claude Code and nothing seems to fix this.
The note is written.
Error: Error calling tool 'write_note': (sqlite3.OperationalError) no such module: fts5
[SQL:
SELECT
project_id,
id,
title,
permalink,
file_path,
type,
metadata,
from_id,
to_id,
relation_type,
entity_id,
content_snippet,
category,
created_at,
updated_at,
bm25(search_index) as score
FROM search_index
WHERE (title MATCH ? OR content_stems MATCH ?) AND type IN ('entity') AND project_id = ?
ORDER BY score ASC
LIMIT ?
OFFSET ?
]
[parameters: ('"test/Basic Memory Test.md"', '"test/Basic Memory Test.md"', 1, 10, 0)]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
Bug Description
When trying to write a note with basic-memory in Claude Code, I always get an error about "no such module: fts5".
I installed basic-memory initially through homebrew, but I just now tried uninstalling and then reinstalling using the "single step installation" using curl. I've restarted terminal and Claude Code and nothing seems to fix this.
Steps To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The note is written.
Actual Behavior
Environment
Additional Context
Possible Solution