Troubleshooting
Common issues and how to resolve them.
- Make sure you ran
npm installin thefrontend/directory - Check that port 5174 isn't already in use (
netstat -ano | findstr :5174) - Delete
node_modulesand reinstall:rm -rf node_modules && npm install
- Make sure you ran
- Make sure Docker is running (PostgreSQL needs it)
- Check that the .NET 10 SDK is installed:
dotnet --version - Check the backend terminal tab for error messages
- If using Visual Studio, make sure DST.API is set as the startup project
- Verify Docker Desktop is running
- Run
docker psto check if thedst-postgrescontainer is running - Try restarting:
./scripts/end-db.bat && ./scripts/start-db.bat - Check that no other service is using port 5432
- Make sure you're in the
backend/src/DST.APIdirectory - Make sure the
--project ../DST.Infrastructureflag is included - Check that the database is running
- If the migration is out of sync, check for pending migrations:
dotnet ef migrations list --project ../DST.Infrastructure
- Make sure you're in the
- Verify the route matches your controller attribute (
[Route("api/...")]) - Check that your service and repository are registered in dependency injection (
DependencyInjection.csin both Application and Infrastructure) - Check the backend terminal for error logs
- Make sure the controller class has the
[ApiController]attribute
- Verify the route matches your controller attribute (
- Verify the
SYSTEM_RESPONSE_PATHinstart-dev.batpoints to the correct location - Make sure the System-Response repository is cloned and builds successfully
- Check that port 5001 isn't already in use
- Verify the
Backend (.NET): The
start-dev.batscript launches the backend withdotnet watch run. If hot reload stops working, restart the backend:./scripts/end-backend.bat && ./scripts/start-backend.batFrontend (Vite): Vite's HMR is usually reliable. If changes aren't reflecting, check the terminal for errors. A full page refresh (
Ctrl+Shift+R) may help.
Additional Resources
Chart.js Documentation
Chart configuration and plugins
Explore →
Tailwind CSS v4 Docs
Utility class reference
Explore →
Entity Framework Core Docs
Migrations, configuration, and querying
Explore →
ASP.NET Core Quick Reference
Common patterns and templates
Explore →