Replies: 1 comment
-
Make sure you're loading in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have migrated to Drizzle with supabase. I am now trying to migrate to better-auth. The issue I am facing is that when i try to run the command to generate models, I get an invalid env vars error from the database vars. Has anyone faced this issue and could suggest a route out of it.
[Better Auth]: Couldn't read your auth config. Error: Invalid environment variables
{
code: 'invalid_type',
expected: 'string',
received: 'undefined',
path: [ 'DATABASE_URL' ],
message: 'Required'
},
It is present in the database .env already
Beta Was this translation helpful? Give feedback.
All reactions