Better-Auth CLI in Monorepo

Hello!

I am having trouble using the
generate
command in a monorepo. I keep trying to generate a schema for drizzle but keep getting Couldn't read your auth config. I'm in a monorepo and have tried:

  • running the command from root
  • pointing to the config with --config flag
  • redirecting output with --output flag
Does anyone have any tips to generate a schema in a monorepo?

Thanks
Was this page helpful?