You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-3.x/recipe/auth-integration/better-auth.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,22 @@ model Todo {
151
151
}
152
152
```
153
153
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
+
```jsontitle="package.json"
161
+
{
162
+
"overrides": {
163
+
"chevrotain": "^11"
164
+
}
165
+
}
166
+
```
167
+
168
+
Then nuke "node_modules" and re-install dependencies.
169
+
154
170
## Sample project
155
171
156
172
Here is a fully working multi-tenant sample project using better-auth, ZenStack v3, and Next.js:
0 commit comments