Skip to content

Commit 245801a

Browse files
authored
chore: add FAQ to better-auth docs (#522)
1 parent c7ef05c commit 245801a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

versioned_docs/version-3.x/recipe/auth-integration/better-auth.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,22 @@ model Todo {
151151
}
152152
```
153153
154+
## FAQ
155+
156+
- Why do I get the error "Error: non exhaustive match" when running "zen generate"?
157+
158+
`@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:
159+
160+
```json title="package.json"
161+
{
162+
"overrides": {
163+
"chevrotain": "^11"
164+
}
165+
}
166+
```
167+
168+
Then nuke "node_modules" and re-install dependencies.
169+
154170
## Sample project
155171
156172
Here is a fully working multi-tenant sample project using better-auth, ZenStack v3, and Next.js:

0 commit comments

Comments
 (0)