Trevor
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Trevor on 7/2/2023 in #questions
env-nextjs not able to find .env variables
At least I think that's what's going on. Here's what I have in
env.ts
When I try to run a command that uses one of these variables (drizzle-kit push:mysql
) the Zod parse fails and gives me this in the terminal:
My env variables are defined at the root of the same directory env.ts
is in, .env.local
I think this is saying it can't find them? Any help would be appreciated, I'm sure I'm missing something simple <:honk_thonk:753870955234721821>49 replies