I was trying to deploy a Next.js app via Vercel ye...
# help
p
I was trying to deploy a Next.js app via Vercel yesterday, and encountered this error msg when deploying. Is this a result of the env variables not getting read properly?
s
Yes this is the result of env variables not being read properly, you should probably set these via the Vercel dashboard and not rely on .env files in your production environment.
p
ok, thank you😆
I set env variables in Vercel settings and it works perfectly! Thanks👍
s
I'm happy to hear its working now