Skip to content

Quick Fixes Reference

The "Fix Everything" Sequence

bash
# 1. Health check
devdiff doctor

# 2. Ensure git repo
git status

# 3. Make a test change
echo "// test $(date)" >> test.js

# 4. Stage it
git add test.js

# 5. Dry run (no AI needed)
devdiff generate --dry-run

# 6. If dry run works, try with AI
devdiff generate --persona developer

Fix by Symptom

SymptomQuick Fix
Nothing happensdevdiff --version (check install)
No changes detectedgit add . then try again
Unknown option errorCheck spelling: devdiff --help
Ollama not foundInstall: ollama.com
Model not foundollama pull llama3.2:3b
Connection refusedStart Ollama app
Permission deniedchmod +x on Linux/macOS, run as admin on Windows
Out of memoryUse smaller model: ollama pull llama3.2:1b
VS Code not workingReload window: Ctrl+Shift+PReload Window
Config not loadingCheck .devdiff.config.js syntax

Reset Everything

bash
# Remove DevDiff from project
rm -rf .devdiff
rm .devdiff.config.js
rm .devdiffignore

# Reinstall CLI
npm uninstall -g @eldrex/cli
npm install -g @eldrex/cli

# Fresh init
devdiff init

Still Stuck?

  1. Run devdiff doctor and share output
  2. Check GitHub Issues
  3. Join Discord
  4. Include: OS, Node version, DevDiff version, error message

Released under the MIT License. | Support