❌ Invalid environment variables

I recently created a new t3 application using the pnpm create t3-app@latest command. After setting up all the necessary environment variables, I was able to successfully start the development server using pnpm dev. The application was functioning as expected, with both the database and authentication working properly. However, when I attempted to use the pnpm drizzle-kit studio command, I encountered an issue. The attached image provides a visual representation of the problem. I would appreciate any assistance in resolving this issue. Thank you.
No description
6 Replies
Sturlen
Sturlen16mo ago
Drizzle-kit does not work with t3-env at the moment because of esm issues. I ran into the same problem a while and it's still not resolved: https://discord.com/channels/966627436387266600/1117389501027844176/1117762215353790484
vitoananta3
vitoananta3OP16mo ago
Now I understand that the problem is due to compatibility issues between drizzle-kit and t3-env. I appreciate your information and the link to the related issue. Thank you.
K1|ller
K1|ller16mo ago
Same issue but i'm not using Drizzle
peternovak
peternovak16mo ago
Thanks for posting this @vitoananta3 ! I just run into the same problem myself as well.
cje
cje16mo ago
try adding "db:studio": "dotenv drizzle-kit studio" to commands in package.json
K1|ller
K1|ller15mo ago
hello Christopher pls return to youtube blessjmg
Want results from more Discord servers?
Add your server