Common problems and solutions. Organized as problem → cause → fix.
Cause: The global tool isn't on your PATH yet, or it isn't installed.
Fix:
-
Check if it's installed:
dotnet tool list -g | grep graphify -
If not listed, install it:
dotnet tool install -g graphify-dotnet
-
If listed but not found, restart your terminal. The PATH update only applies to new sessions.
- PowerShell: Open a new window, or run
$env:PATH = [System.Environment]::GetEnvironmentVariable("PATH", "User") - Bash/Zsh: Run
source ~/.bashrcorsource ~/.zshrc
- PowerShell: Open a new window, or run
See Global Tool Install for full installation details.
Cause: The .NET 10 SDK isn't installed, or an older version is active.
Fix:
-
Check your version:
dotnet --version
-
If missing or below 10.0, install from dotnet.microsoft.com/download.
-
If you have multiple SDKs, check that
global.jsonisn't pinning an older version:dotnet --info
Cause: No supported files in the target directory, or pointing at the wrong path.
Fix:
-
Check what files graphify sees:
graphify run ./your-project --verbose
The verbose output shows detected files and their types.
-
Make sure you're pointing at a directory with source code, not a build output folder (
bin/,obj/,dist/). -
Verify the directory contains supported file types. graphify supports:
.cs,.py,.ts,.js,.go,.rs,.java,.c,.cpp,.rb,.kt,.scala,.php,.swift,.r,.lua, and more. See the README for the full list. -
Check if files are git-ignored. By default, graphify respects
.gitignore. Untracked files in a git repo may be skipped.
Cause: Ollama server isn't running.
Fix:
# Start the server
ollama serve
# Verify it's running
curl http://localhost:11434/api/tagsOn Windows, check that Ollama is running in the system tray. See Ollama Setup.
Cause: The model hasn't been pulled yet.
Fix:
ollama pull llama3.2
ollama list # verify it's thereCause: Invalid or expired API key, or wrong endpoint/deployment.
Fix:
- Verify your endpoint, API key, and deployment name:
graphify config show
- Re-run the config wizard to update credentials:
graphify config set - Check that your Azure OpenAI resource is active and the deployment exists.
See Azure OpenAI Setup.
Cause: You're running without any provider, or the config is missing.
Fix: This is fine! AST-only mode works without any AI provider. If you want AI enrichment, run:
graphify configCause: graphify processes every supported file in the directory tree. Large monorepos with thousands of files take longer.
Fix:
-
Use AST-only mode — skip the AI provider (which is the slowest stage):
graphify run . --provider noneOr simply don't configure a provider. AST extraction is fast.
-
Target a subdirectory instead of the whole repo:
graphify run ./src/MyModule
-
Use
--verboseto see where time is spent — the bottleneck is usually AI semantic extraction, not AST parsing.
Cause: Filesystem watcher limitations vary by OS.
Fix:
-
Verify watch mode is running:
graphify watch . --verbose -
Linux: The default inotify watch limit may be too low. Increase it:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf sudo sysctl -p
-
Network drives / Docker volumes: Filesystem watchers don't work across network boundaries. Run graphify on the local filesystem.
-
Debounce: Changes are batched with a 500ms debounce window. Rapid saves may appear delayed.
See Watch Mode for details.
Cause: Some browsers block local file access due to CORS / file:// restrictions.
Fix:
-
Try a different browser. Chrome is stricter than Firefox about
file://access. -
Use a local HTTP server:
# Python python -m http.server 8000 -d graphify-out # .NET dotnet serve -d graphify-out -p 8000 # Node.js npx serve graphify-out
Then open
http://localhost:8000/graph.html. -
Check the file size. Very large graphs (5000+ nodes) may take several seconds to render. Wait for the page to load fully.
AST-only mode is the default when no AI provider is configured. It works with zero setup:
graphify run .AST extraction parses source code structure — classes, functions, imports, and their relationships. It produces EXTRACTED confidence nodes. This is fast, deterministic, and requires no API keys or external services.
AI providers add INFERRED nodes — semantic relationships that can't be detected from syntax alone. But AST-only mode is fully functional and produces useful graphs for any codebase.
To explicitly disable AI even if configured:
graphify run . --provider noneFix: Force a clean reinstall:
dotnet tool uninstall -g graphify-dotnet
dotnet tool install -g graphify-dotnetCheck installed version:
dotnet tool list -g | grep graphify- Run with
--verbose— it shows every pipeline stage and what's happening - Check the CLI Reference for correct command syntax
- Open an issue on GitHub