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
1 Reply
This is a browser console error message, I tried to print process.env.TURSO_CONNECTION_URL in the drizzle definition file and it seems that the output is undefined