Troubleshooting
Hooks not working
- Restart Claude Code session — Hooks activate on session start, not mid-session
- Check daemon is running:
npx clnode status - Verify hooks config: Check
.claude/settings.local.jsonhas ahookssection - Check logs:
npx clnode logs -f
DuckDB binding error
Error: Cannot find module '.../duckdb/lib/binding/duckdb.node'
DuckDB requires native bindings compiled for your platform.
Local install:
pnpm rebuild duckdb
# or
npm rebuild duckdb
Docker: Add build tools:
# Alpine
RUN apk add --no-cache python3 make g++
# Debian/Ubuntu
RUN apt-get update && apt-get install -y python3 make g++
RUN pnpm rebuild duckdb
Docker with volume mounts: Exclude node_modules:
volumes:
- .:/app
- /app/node_modules # Use container's node_modules
Command not found: clnode
pnpm link --global
# or run directly
node dist/cli/index.js start
jq not found
# macOS
brew install jq
# Ubuntu/Debian
sudo apt install jq
Zombie agents in DB
If an agent is killed (ESC or context limit), SubagentStop may not fire. The agent stays active in the database.
Fix: Use the Kill button in the Web UI, or:
curl -X DELETE http://localhost:3100/api/agents/<agent-id>
Known Issues
- Hooks require Claude Code session restart after
clnode init - Transcript extraction needs 500ms delay (race condition with file write)
- VSCode Extension requires Reload Window after install (no hot reload)