Error when using CLI

Hello.

I'm trying to generate the schema. But the CLI is causing me some problems.

Chris@ChrisDev MINGW64 ~/Documents/GitHub/lms-academy/apps/backend (main)
$ npx @better-auth/cli migrate --config=src/lib/authentication/auth.config.ts
2025-11-14T13:18:41.029Z ERROR [Better Auth]: Couldn't read your auth config. Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './adapters/drizzle' is not defined by 
}
Was this page helpful?