Troubleshooting

Troubleshooting

Debugging common issues with build errors, runtime errors, and deployment problems in Manic.

Troubleshooting

TL;DR

Solutions to common issues you may encounter when building, running, and deploying Manic applications.

This section covers common problems and their solutions organized by category.


What's Inside


Quick Debugging Checklist

Before diving into specific errors, try these general fixes:

Restart the Development Server

Stop and restart the dev server to clear cached state:

# Stop server (Ctrl+C)
# Then restart
bun dev

Clear Build Cache

Remove the .manic cache directory:

rm -rf .manic
bun build

Check Dependencies

Ensure all dependencies are installed:

bun install

Enable Debug Logging

Run with debug output:

DEBUG=manic:* bun dev

Common Categories

Build Issues

  • Linting errors
  • TypeScript errors
  • Bundling failures
  • Configuration problems

Runtime Issues

  • Route not found
  • API errors
  • Hot reload not working

Deployment Issues

  • Platform-specific errors
  • Environment configuration
  • Build output problems

Getting Help

If you can't find your issue here:

  1. Check the GitHub Issues
  2. Search the Discussions
  3. Create a minimal reproduction

See also:

On this page