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
silentworks
10/19/2021, 1:42 AM
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
Psymin
10/19/2021, 1:44 AM
ok, thank you😆
Psymin
10/19/2021, 1:11 PM
I set env variables in Vercel settings and it works perfectly! Thanks👍