Watch: Fix an app that works locally but not in production | Vovy

Watch Vovy do it on a Mac: "Everything works on localhost but it's broken on my live site". Vovy compares your local setup with production side by side: env variables, build output, URLs and Node version, and finds the difference that breaks it.

"Everything works on localhost but it's broken on my live site"

Vovy compares your local setup with production side by side: env variables, build output, URLs and Node version, and finds the difference that breaks it.

What happens in the video

  1. Run a production build locally: Vovy runs npm run build and then starts the built app, because npm run dev hides problems that only appear in a real build.
  2. Compare environment variables: It lists the keys in your .env file next to the ones in Vercel's Environment Variables, without showing values, and flags anything missing in Production.
  3. Hunt for hardcoded localhost: Cursor searches your code for localhost:3000 and http:// links, and checks auth redirect URLs that still point at your Mac.
  4. Check Node and case-sensitive paths: It compares your local Node version with Vercel's setting and checks imports like ./Header vs header.tsx, which macOS forgives and Linux servers do not.
  5. Show the difference that matters: You get a comparison table, local vs production, with the mismatch highlighted and the fix ready to apply.
Read the step-by-step guide