StiffJobsS
Convex Community2w ago
1 reply
StiffJobs

Try to local installs with the BetterAuth component, but cannot generate schema due to R2 component

I was trying to migrate my auth to better auth for the organization signin, but every time i run the npx @better-auth/cli generate, it does't load the current directory auth.ts(which i have cd into the /convex/betterAuth dir), and when i try with the --config with the absolute path of the auth.ts file, it says that I'm missing my R2 component required fields (r2_bucket, endpoint, key_id...) but the truth is, those env vars are set on the environment vars already, so I'm not sure how can I solve this
Was this page helpful?