all labs
Debugin progress

Break / Fix Lab

Something broke. Decide what to do — and find out why.

scenarios0/12
what you're looking at
$ vercel build
▲ Building project…
Error: Environment Variable SUPABASE_URL is not defined
Build failed. Exiting with code 1
your call

What should you do?

the lesson

It works locally because your .env file exists on your machine. .env is (correctly) not committed, so the build server has never seen it. Every environment needs its own copy of configuration.