-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Troubleshooting
Common issues and solutions.
Use PowerShell instead of cmd:
npx ruflo@latest init wizardOr use the install script in Git-Bash/WSL.
npm cache clean --force
npx ruflo@latest init wizardIf still failing, check npm permissions:
npm list -gIf it shows permission errors, reset npm:
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATHInstall dependencies:
npx ruflo@latest doctor --fixIf still failing:
rm -rf node_modules package-lock.json
npm installCheck Node version:
node --version # Should be v20.x or higherRegister MCP server:
claude mcp add ruflo -- npx ruflo@latest mcp startVerify registration:
claude mcp listEnsure MCP server is registered:
claude mcp add ruflo -- npx ruflo@latest mcp startThen restart Claude Code.
Check logs:
npx ruflo@latest daemon status --verboseClear cache and restart:
npm cache clean --force
npx ruflo@latest daemon stop
npx ruflo@latest daemon startMemory is empty. Store something first:
npx ruflo@latest memory store --key "test" --value "hello" --namespace patterns
npx ruflo@latest memory search --query "hello"Reduce HNSW cache size:
npx ruflo@latest config set memory.hnsw.cache-size 128Or use RaBitQ quantization:
npx ruflo@latest embeddings init --quantization rabitqCheck TTL (time-to-live):
npx ruflo@latest memory statsIf TTL has expired, they're automatically deleted. Store with no TTL:
npx ruflo@latest memory store --key "permanent" --value "data" --namespace patterns
# No --ttl flag = permanent storageCheck swarm status:
npx ruflo@latest swarm status
npx ruflo@latest agent status <agent-id>Restart the agent:
npx ruflo@latest agent stop <agent-id>
npx ruflo@latest agent spawn -t coder --name new-coderIncrease consensus timeout:
npx ruflo@latest config set consensus.timeout-ms 10000 # 10 secondsCheck network connectivity (for federation):
npx ruflo@latest federation statusVerify agent is in the swarm:
npx ruflo@latest hive-mind statusCheck agent name matches exactly:
npx ruflo@latest agent listRegenerate the manifest:
npm run build
npx ruflo@latest witness sign --manifest verification.mdFor source-only checkouts (no build):
npx ruflo@latest verify --source-modeAdjust safety threshold:
npx ruflo@latest config set aidefence.pii-threshold 0.95Lower threshold = stricter filtering.
Set your Anthropic API key:
export ANTHROPIC_API_KEY=sk-ant-...
npx ruflo@latest doctor --fixOr store in .env:
echo "ANTHROPIC_API_KEY=sk-ant-..." >> .env
npx ruflo@latest doctor --fixHNSW index is stale. Rebuild:
npx ruflo@latest memory migrate --forceOr profile the search:
npx ruflo@latest performance profile --target memory-searchCheck which worker is consuming resources:
npx ruflo@latest hooks worker status --verboseStop the problematic worker:
npx ruflo@latest hooks worker cancel <worker-id>Increase task timeout:
npx ruflo@latest config set task.timeout-seconds 300 # 5 minutesIf you get version conflicts after updating:
npm cache clean --force
rm -rf ~/.ruflo/cache
rm -rf ~/.claude-flow/cache
npx ruflo@latest init wizardThis forces a fresh download and regenerates all local state.
npx ruflo@latest --log-level debug <command>Or set environment variable:
CLAUDE_FLOW_LOG_LEVEL=debug npx ruflo@latest <command>npx ruflo@latest daemon logs --tail 100npx ruflo@latest doctor --fixIf you find a bug:
- Check existing issues: https://github.com/ruvnet/ruflo/issues
- Gather diagnostics:
npx ruflo@latest doctor --verbose > diagnostics.txt npx ruflo@latest swarm status > swarm-status.txt npx ruflo@latest memory stats > memory-stats.txt
-
Open a new issue with:
- Steps to reproduce
- Diagnostic output (above files)
- Ruflo version:
npx ruflo@latest --version - OS and Node version
Reset everything (WARNING: data loss):
# Stop daemon
npx ruflo@latest daemon stop
# Remove all Ruflo state
rm -rf ~/.ruflo
rm -rf ~/.claude-flow
rm -rf ./.claude
rm -rf ./data/
# Reinstall
npx ruflo@latest init wizardRuflo v3.10.1 · GitHub Issues · Discussions
Ruflo v3.10.1 · npm · GitHub · Benchmarks