Troubleshooting Guide¶
Common issues and solutions for Devo CLI.
Installation Issues¶
Command Not Found¶
Problem: devo: command not found after installation
Solutions:
- Restart terminal:
- Check PATH:
- Verify installation:
Permission Denied¶
Problem: Permission denied when running devo
Solutions:
# Make executable
chmod +x ~/.local/bin/devo
# Or reinstall with correct permissions
curl -fsSL https://raw.githubusercontent.com/edu526/devo-cli/main/install.sh | bash
Windows Execution Policy Error¶
Problem: PowerShell blocks script execution
Solution:
# Allow script execution for current user
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
# Then retry installation
irm https://raw.githubusercontent.com/edu526/devo-cli/main/install.ps1 | iex
AWS Credentials Issues¶
No Credentials Found¶
Problem: Unable to locate credentials or NoCredentialsError
Solutions:
- Configure AWS CLI:
- Use AWS SSO:
- Verify credentials:
Access Denied to Bedrock¶
Problem: AccessDeniedException when using AI features
Solutions:
- Enable Bedrock model access:
- Go to AWS Console → Bedrock
- Navigate to "Model access"
-
Request access to Claude models
-
Check IAM permissions:
{
"Effect": "Allow",
"Action": [
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream"
],
"Resource": "arn:aws:bedrock:*::foundation-model/anthropic.claude-*"
}
- Verify region:
Wrong AWS Account/Role¶
Problem: Using wrong AWS account or role
Solutions:
# Check current identity
aws sts get-caller-identity
# Use specific profile
devo --profile production commit
# Set default profile
export AWS_PROFILE=production
Configuration Issues¶
Configuration Not Loading¶
Problem: Configuration changes not taking effect
Solutions:
- Verify configuration file:
- Reset if corrupted:
Invalid Configuration Values¶
Problem: Configuration value needs to be updated
Solutions:
Command-Specific Issues¶
Commit Command Issues¶
Problem: No staged changes found
Solution:
Problem: Commit message generation fails
Solutions:
- Check AWS credentials:
- Verify Bedrock access:
- Try different model:
Code Reviewer Issues¶
Problem: Code review fails or returns errors
Solutions:
- Make sure you have commits on your branch that differ from the base branch:
- Use a closer base branch for large features:
- Verify AWS credentials:
Upgrade Command Issues¶
Problem: Failed to download latest version
Solutions:
- Check internet connection:
- Verify GitHub access:
- Manual upgrade:
# Download manually
curl -L https://github.com/edu526/devo-cli/releases/latest/download/devo-linux-amd64 -o devo
chmod +x devo
sudo mv devo /usr/local/bin/
CodeArtifact Login Issues¶
Problem: Failed to authenticate with CodeArtifact
Solutions:
- Check IAM permissions:
{
"Effect": "Allow",
"Action": [
"codeartifact:GetAuthorizationToken",
"codeartifact:GetRepositoryEndpoint",
"codeartifact:ReadFromRepository",
"sts:GetServiceBearerToken"
],
"Resource": "*"
}
- Verify configuration:
- Use AWS SSO:
Performance Issues¶
Slow Command Execution¶
Problem: Commands take long time to execute
Solutions:
- Disable version check:
- Check network connectivity:
- Use faster Bedrock model:
Large Diff Timeouts¶
Problem: Code review times out on large diffs
Solutions:
# Review smaller chunks
git add specific-files
devo code-reviewer
# Or increase timeout (if supported)
# Split large changes into smaller commits
Shell Completion Issues¶
Completion Not Working¶
Problem: Tab completion doesn't work
Solutions:
- Reload shell configuration:
- Verify completion is loaded:
- Reinstall completion:
# Add to ~/.bashrc or ~/.zshrc
eval "$(_DEVO_COMPLETE=bash_source devo)" # Bash
eval "$(_DEVO_COMPLETE=zsh_source devo)" # Zsh
Binary Issues¶
Antivirus False Positive¶
Problem: Antivirus flags devo binary as malicious
Solutions:
- Add exception in antivirus software
- Build from source:
- Use Python installation:
Binary Won't Execute¶
Problem: Binary fails to run
Solutions:
# Check if executable
ls -la $(which devo)
# Make executable
chmod +x $(which devo)
# Check for missing dependencies (Linux)
ldd $(which devo)
Getting Help¶
If you can't resolve your issue:
- Check documentation:
- Installation Guide
- Configuration Guide
-
Enable debug output:
- Report issue:
- GitHub Issues
- Include:
- Devo version (
devo --version) - Operating system
- Error message
- Steps to reproduce
- Devo version (
Common Error Messages¶
NoCredentialsError¶
Cause: AWS credentials not configured
Fix: Run aws configure or aws sso login
AccessDeniedException¶
Cause: Insufficient IAM permissions
Fix: Check IAM permissions for Bedrock/CodeArtifact
ModelNotFoundException¶
Cause: Bedrock model not available in region
Fix: Use supported region (us-east-1) or different model
ValidationException¶
Cause: Invalid parameters passed to AWS API
Fix: Check the parameters in your command (e.g., filter expressions, table names)
ConnectionError¶
Cause: Network connectivity issues
Fix: Check internet connection and firewall settings