invalid environment variables

I logged all variables all of them are undefined, what might have gone wrong?
{
DATABASE_URL: undefined,
NEXTAUTH_SECRET: undefined,
NEXTAUTH_URL: undefined,
GOOGLE_CLIENT_ID: undefined,
GOOGLE_CLIENT_SECRET: undefined,
NEXT_PUBLIC_BACKEND_URL: undefined,
NEXT_PUBLIC_BACKEND_WS_URL: undefined
}
{
DATABASE_URL: undefined,
NEXTAUTH_SECRET: undefined,
NEXTAUTH_URL: undefined,
GOOGLE_CLIENT_ID: undefined,
GOOGLE_CLIENT_SECRET: undefined,
NEXT_PUBLIC_BACKEND_URL: undefined,
NEXT_PUBLIC_BACKEND_WS_URL: undefined
}
4 Replies
oskarpuchalski
What file are you storing them in?
Ali
AliOP2y ago
.env @Oskar Puchalski
oskarpuchalski
try .env.local
uiuxphil
uiuxphil2y ago
have you typed them out? in t3 you have to type your envs
Want results from more Discord servers?
Add your server