When doing codegraph init -i I always see the warning:
─────────────────────────────────────────────────────────────────
[CodeGraph] WASM SQLite fallback active (better-sqlite3 unavailable)
─────────────────────────────────────────────────────────────────
Indexing and sync will be 5-10x slower than the native backend.
Fix on macOS:
xcode-select --install # install C build tools
npm rebuild better-sqlite3 # rebuild native binding for current Node
Fix on Linux:
sudo apt install build-essential python3 make # Debian/Ubuntu
# or: sudo yum groupinstall "Development Tools" # RHEL/Fedora
npm rebuild better-sqlite3
Or force-include as a hard dependency on any platform:
npm install better-sqlite3 --save
Verify after fix: `codegraph status` should show `Backend: native`.
Running those suggested commands or even npm install better-sqlite3 does not fix the issue. I am on MacOS, Node 24
When doing
codegraph init -iI always see the warning:Running those suggested commands or even
npm install better-sqlite3does not fix the issue. I am on MacOS, Node 24