Common Issues
This guide helps you resolve common issues you might encounter while using Azu CLI. If you can't find a solution here, please check the specific troubleshooting sections or reach out to the community.
Quick Diagnosis
Check Your Environment
# Check Crystal version
crystal --version
# Check Azu CLI version
azu version
# Check if you're in an Azu project
ls -la | grep shard.ymlCommon Error Patterns
Getting Help
1. Check the Logs
Enable verbose logging to get more detailed error information:
2. Search Existing Issues
Before reporting a new issue, search existing issues:
3. Create a Minimal Reproduction
When reporting an issue, create a minimal reproduction:
4. Include System Information
When reporting issues, include:
Common Solutions
Reset Your Environment
If you're experiencing strange behavior, try resetting your environment:
Update Dependencies
Keep your dependencies up to date:
Check File Permissions
Ensure proper file permissions:
Debugging Techniques
1. Enable Debug Mode
2. Check Configuration
3. Test Individual Components
4. Use Crystal's Debug Tools
Performance Issues
Slow Startup
If Azu CLI is starting slowly:
Slow Generation
If code generation is slow:
Memory Issues
If you're experiencing memory issues:
Network Issues
Proxy Configuration
If you're behind a proxy:
SSL/TLS Issues
If you're experiencing SSL/TLS issues:
Platform-Specific Issues
macOS
Common macOS issues:
Linux
Common Linux issues:
Windows
Common Windows issues:
Database Issues
Connection Problems
Migration Issues
Development Server Issues
Port Conflicts
Hot Reload Issues
Build Issues
Compilation Errors
Dependency Issues
Template Issues
Missing Templates
Template Rendering Errors
Configuration Issues
Invalid Configuration
Environment Variables
Community Support
Discord Community
Join the Azu Toolkit Discord for real-time help:
Active community of developers
Quick answers to common questions
Share your projects and get feedback
GitHub Issues
For bug reports and feature requests:
Search existing issues first
Provide detailed reproduction steps
Include system information
Documentation
Contributing to Troubleshooting
If you find a solution that's not documented:
Update this guide with your solution
Share with the community on Discord
Submit a PR to improve the documentation
Help others with similar issues
Related Documentation
Installation Issues - Installation-specific problems
Generation Issues - Code generation problems
Database Issues - Database-related problems
Development Server Issues - Server and development issues
Build Issues - Compilation and build problems
Last updated