env variable is undefined
Hi people,
I'm having issue that my env variables in
config.drizzle.ts
are being undefined, even though they exist in my .env file, If i try to hardcode them, they work fine.
if I try to console log them in server component they have expected value
5 Replies
I solved it by using at the top of the file
Not sure if this is an older version of t3, but in the latest at the time of my post (7.20.2), the
drizzle.config.ts
looks like this out of the box (and works):
I'm not using T3
Isn't this a t3 discord?
as far as I know its not, you can ask question about anything related to typescript web next react etc