Error: FATAL: An unexpected Turbopack error occurred - Windows couldn't create symlink to @prisma/client
Fix: Changed Prisma client output from node_modules/@prisma/client to src/generated/prisma-client to avoid symlink creation
Error: Server-rendered HTML didn't match client properties - Radix UI components generated different random IDs
Fix: Added client-side mounting check - Radix UI components (ThemeToggler, UserMenu, MobileNav) now only render after client hydration
Error: Users created in Supabase Auth were not automatically added to Prisma user_roles table
Fix: Added automatic user creation in auth callback route and improved init-user API route to sync users immediately after authentication