Troubleshooting Guide¶
This guide helps you resolve common issues you might encounter while working with AIDDDMAP.
Installation Issues¶
Node.js Errors¶
Solution: Update Node.js to v14 or higher:
Docker Issues¶
Solution:
- Check if Docker is running:
- Start Docker if needed:
Environment Variables¶
Solution:
- Check if
.env.localexists - Copy from example if needed:
- Fill in all required variables
Runtime Issues¶
AI Agent Connection¶
Solution:
- Verify API keys in
.env.local - Check agent service status
- Ensure network connectivity
Database Connection¶
Solution:
- Verify database credentials
- Check database service status
- Test connection:
Memory Issues¶
Solution:
- Increase Node.js memory limit:
- Optimize large operations
- Consider data pagination
Development Issues¶
Build Errors¶
Solution:
- Clear build cache:
- Remove node_modules:
Type Errors¶
Solution:
- Check type definitions
- Update TypeScript dependencies
- Run type check:
Security Issues¶
Encryption Errors¶
Solution:
- Verify encryption keys
- Check encryption mode settings
- Validate input data format
Authentication Issues¶
Solution:
- Clear browser cache
- Check token expiration
- Verify credentials
Performance Issues¶
Slow Response Times¶
Solution:
- Enable performance monitoring
- Check database query optimization
- Verify network latency
- Consider caching strategies
High CPU Usage¶
Solution:
- Profile application:
- Identify bottlenecks
- Optimize resource-intensive operations
Common Error Messages¶
"ECONNREFUSED"¶
Cause: Service not running or wrong port Solution:
- Check service status
- Verify port configuration
- Test connectivity
"ENOENT"¶
Cause: File or directory not found Solution:
- Verify file paths
- Check file permissions
- Create missing directories
Getting Help¶
If you're still experiencing issues:
- Check our GitHub Issues
- Join our Discord Community
- Contact support at support@aidddmap.com
Contributing to Troubleshooting¶
Help improve this guide:
- Submit PRs with new solutions
- Report undocumented issues
- Share your troubleshooting experiences