How do I fix an env variable that works locally but is undefined after deploy?
Summary If an environment variable is undefined after deploying a Next.js, Vite, SvelteKit, or Nuxt app to Netlify or Render, check public prefixes, build-time values, variable scope, and failing fast during build.