realguse
BABetter Auth
•Created by realguse on 4/17/2025 in #help
Error when generating SvelteKit tables
When running the
@better-auth/cli generate
command in a SvelteKit project it throws the following error
2025-04-17T14:44:42.264Z ERROR [Better Auth]: [#better-auth]: Couldn't read your auth config. Error: Cannot find module '$env/dynamic/private'
For reference, this is my src/lib/db/index.js
file where the error is thrown:
Thanks in advance!7 replies