Troubleshooting¶
Common issues and their solutions.
Installation Issues¶
Command Not Found: nexus-init¶
Symptom:
Solutions:
-
Check installation:
-
Reinstall with pipx:
-
Restart shell:
Python Version Error¶
Symptom:
Solution:
Install Python 3.13+:
Configuration Issues¶
"nexus_config.json not found"¶
Symptom:
Solutions:
-
Initialize the project:
-
Check working directory:
OpenAI API Key Error¶
Symptom:
Solution:
export OPENAI_API_KEY="sk-..."
# Or add to shell profile
echo 'export OPENAI_API_KEY="sk-..."' >> ~/.zshrc
source ~/.zshrc
Indexing Issues¶
No Files Indexed¶
Symptom:
Causes & Solutions:
-
Wrong patterns in config: Check
nexus_config.json: -
Missing
-rflag: -
All files excluded: Check if files match exclude patterns.
Chunking Errors¶
Symptom:
Cause: Invalid syntax in source file.
Solution: Fix syntax errors before indexing. The file is skipped, not fatal.
MCP Server Issues¶
Server Not Connecting¶
Symptom: AI agent doesn't see Nexus-Dev tools.
Solutions:
-
Restart IDE after configuration changes.
-
Check MCP config syntax:
-
Test server manually:
"Empty" Server (No Project Context)¶
Symptom: Server connects but has no project data.
Solutions:
-
Set project root:
-
Use refresh_agents:
Search Issues¶
No Results Found¶
Symptom:
Solutions:
-
Check if indexed:
Should show non-zero chunk counts. -
Re-index:
-
Try broader query: Use natural language instead of exact names.
Wrong Results¶
Symptom: Results don't match what you're looking for.
Solutions:
-
Be more specific: "function that validates email addresses" > "validate"
-
Use type filters:
Gateway Issues¶
"Server not found"¶
Symptom:
Solutions:
-
Check config:
-
Verify server name matches config key.
-
Initialize config:
"Connection refused"¶
Symptom:
Solutions:
-
For SSE servers: Verify URL is accessible
-
For stdio servers: Check command works
-
Check credentials in env configuration.
Agent Issues¶
Agent Not Appearing¶
Symptom: ask_* tool not available.
Solutions:
-
Refresh agents:
-
Check YAML syntax:
-
Verify file location: Agents must be in
agents/directory at project root.
Agent Returns Generic Responses¶
Symptom: Agent doesn't use RAG context.
Solutions:
-
Check memory config:
-
Ensure content is indexed:
Database Issues¶
"Table not found"¶
Symptom:
Solution:
Database Corruption¶
Symptom: Random errors accessing database.
Solution:
-
Backup lessons:
-
Delete database:
-
Re-index:
Getting Help¶
Debug Output¶
Run with verbose logging:
Report Issues¶
Include:
- Nexus-Dev version (nexus-init --version)
- Python version (python --version)
- OS and version
- Full error message
- Steps to reproduce