Troubleshooting
Troubleshooting
Section titled “Troubleshooting”Quick solutions to common DevAll issues.
Service Issues
Section titled “Service Issues”Service stuck on “starting”
Section titled “Service stuck on “starting””Your service output doesn’t match DevAll’s detection patterns.
Solution: Check if your service outputs “Server running”, “Listening on”, or a localhost URL. DevAll uses these patterns to detect the running state.
# If your service uses different output, it may stay in "starting" state# After 2 seconds with output, DevAll assumes it's running anywayPort already in use
Section titled “Port already in use”Another process is using the port your service needs.
Solution: Enable stealPort in your service config:
services: - name: API port: 3000 stealPort: true # Kills any process on port 3000 before startingService crashes immediately
Section titled “Service crashes immediately”Check for missing dependencies or incorrect working directory.
Solution: View the error logs in the terminal, then:
# For Node.js projects with missing modulesnpm install
# Or enable auto-installservices: - name: API autoInstall: true # Automatically installs missing npm packagesConnection Issues
Section titled “Connection Issues”WebSocket disconnected
Section titled “WebSocket disconnected”The DevAll server stopped or crashed.
Solution: Restart the DevAll server:
npx devallCan’t connect to dashboard
Section titled “Can’t connect to dashboard”Firewall or port conflict on port 7777.
Solution: Try a different port:
dashboard: port: 8888 # Use a different portOr via CLI:
npx devall --port 8888Log Issues
Section titled “Log Issues”Logs not appearing
Section titled “Logs not appearing”Service output might be buffered.
Solution: Ensure your service flushes output:
// Node.js - disable output bufferingprocess.stdout.write('Starting...\n');
// Python - use unbuffered outputpython -u script.py
// Or set environment variablePYTHONUNBUFFERED=1 python script.pyLogs are cut off
Section titled “Logs are cut off”Terminal buffer limit reached (10,000 lines).
Solution: Clear logs periodically or increase buffer in code.
Platform-Specific Issues
Section titled “Platform-Specific Issues”Windows: Can’t kill ports
Section titled “Windows: Can’t kill ports”Requires administrator privileges on Windows.
Solution: Run terminal as Administrator or manually kill:
# Find processnetstat -ano | findstr :3000
# Kill process (replace PID)taskkill /PID 1234 /FmacOS: Permission denied
Section titled “macOS: Permission denied”Missing permissions for certain operations.
Solution: Check file permissions:
# Fix permissionschmod +x ./script.shLinux: Command not found
Section titled “Linux: Command not found”PATH issues or missing packages.
Solution: Use full paths or install missing tools:
# Use full path/usr/bin/node server.js
# Or install missing toolssudo apt-get install lsof # For port managementConfiguration Issues
Section titled “Configuration Issues”Config file not found
Section titled “Config file not found”DevAll can’t find your configuration file.
Solution: Check file location and name:
# DevAll looks for these files (in order):devall.config.yamldevall.yamldevall.ymldevall.jsoncdevall.jsonrepo.yamlrepo.jsonChanges not taking effect
Section titled “Changes not taking effect”Config cache or syntax errors.
Solution: Restart DevAll after config changes:
# Stop with Ctrl+C, then restartnpx devallPerformance Issues
Section titled “Performance Issues”High CPU usage
Section titled “High CPU usage”Too many services or verbose logging.
Solution: Reduce log output or limit concurrent services:
services: - name: API autostart: false # Start manually when needed
- name: Worker secondary: true # Hide by defaultDashboard is slow
Section titled “Dashboard is slow”Too much terminal output overwhelming the browser.
Solution: Clear logs regularly or reduce output verbosity:
// Reduce logging in developmentif (process.env.NODE_ENV !== 'verbose') { console.log = () => {};}Common Error Messages
Section titled “Common Error Messages”MODULE_NOT_FOUND
Section titled “MODULE_NOT_FOUND”Missing npm dependencies.
services: - name: API autoInstall: true # Auto-installs missing packagesEADDRINUSE
Section titled “EADDRINUSE”Port is already in use.
services: - name: API stealPort: true # Kills existing process on portEACCES
Section titled “EACCES”Permission denied error.
# Don't use privileged ports (< 1024)# Use port 3000 instead of port 80ENOENT
Section titled “ENOENT”File or directory not found.
services: - name: API cwd: ./backend # Check working directory pathGetting More Help
Section titled “Getting More Help”Still stuck? Try these:
- Check service logs for specific error messages
- Run DevAll with debug output:
DEBUG=1 npx devall - Report issues: GitHub Issues
- Check FAQ: Homepage FAQ