Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions versioned_docs/version-3.x/recipe/auth-integration/better-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,22 @@ model Todo {
}
```

## FAQ

- Why do I get the error "Error: non exhaustive match" when running "zen generate"?

`@better-auth/cli` has a dependency conflict with ZenStack CLI that causes problems when you use "bun" as package manager. To work around, add the following override to your package.json:

```json title="package.json"
{
"overrides": {
"chevrotain": "^11"
}
}
```

Then nuke "node_modules" and re-install dependencies.

## Sample project

Here is a fully working multi-tenant sample project using better-auth, ZenStack v3, and Next.js:
Expand Down