Use this guide to diagnose and fix common Xelo CLI issues.
| Symptom | Likely Cause | Fix |
|---|---|---|
error: path not found: ... |
Scan target path does not exist | Verify path and rerun xelo scan <existing-dir> ... |
error: not a directory: ... |
Provided path points to file, not directory | Use a directory path for scan path |
error: cannot write output file: ... |
Missing permissions / invalid output path | Use writable directory and check permissions |
error: I/O error writing ... |
Filesystem or path issue | Check disk/path validity and retry |
| Unified mode output is shallow | cyclonedx-py unavailable so fallback used |
Install optional dependency: pip install "xelo[cdx]" |
| LLM enrichment fails to start | Missing litellm or provider credentials |
Install pip install "xelo[llm]" and set provider env vars |
scan repo fails early |
git missing on PATH, bad URL, or bad ref |
Install git, verify repo URL, and verify --ref |
deps: [] in output |
No package manifest files found anywhere in the repo | Expected for repos with no requirements.txt, pyproject.toml, or package.json (e.g. walkthrough or documentation repos) |
summary.frameworks: [] even though agents were detected |
Repository uses a framework not yet in the detection set, or framework is embedded in a non-standard pattern | Run with --verbose to inspect detected FRAMEWORK nodes; open an issue if a supported framework is not recognized |
- Use
--verbosefor scan progress and useful runtime context. - Use
--debugfor deep diagnostics and full traceback output.
Examples:
xelo --verbose scan path ./my-repo --output sbom.json
xelo --debug scan path ./my-repo --output sbom.jsonCheck command usage:
xelo --help
xelo scan --help
xelo scan --helpRetry unified scan:
xelo scan ./my-repo --format unified --output unified-bom.jsonWhen reporting an issue, include:
- Exact command run
- Full stderr/stdout output
- Xelo version (
pip show xelo) - Python version (
python --version) - OS details
Before sharing logs or .env snippets:
- Remove
XELO_LLM_API_KEYand any provider API keys - Remove internal URLs/tokens/secrets
- General support: info@nuguard.ai
- Sensitive/security issues: security@nuguard.ai