-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I was following the steps to work with a custom database and better-auth.
The docs say to run this: npx better-auth generate.
But the actual CLI package executable is npx @better-auth/cli generate.
Furthermore, it's asking for a config file when running it:
No configuration file found. Add a auth.ts file to your project or pass the path to the configuration file using the --config flag.
I assume this is what the server/app auth.config.ts files are supposed to wrap under the hood?
And finally, the steps in the docs have the following Drizzle example:
import { drizzleAdapter } from 'better-auth/adapters/drizzle'This appears to require better-auth to be installed separately as a package to resolve the import. The same is likely true for the other adapter examples too. But could installing better-auth separately cause a version mismatch between what this module expects and the installed better-auth version?