BytesB
tRPC2y ago
1 reply
Bytes

I can't read the value of the env variable, it returns undefined

I am building my application with nextjs using trpc and with drizzle+turso as the database, but when I perform a database query in the trpc route, the terminal reports an error and it seems to be unable to read the value in the env. The image shows my trpc route, drizzle and env files respectively
image.png
image.png
image.png
Was this page helpful?