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
When attempting to run pnpx @better-auth/cli generate I get the error:
2025-01-11T09:26:32.971Z ERROR [Better Auth]: Couldn't read your auth config. Error: The ENCORE_RUNTIME_LIB environment variable is not set. It must be set to the path of the Encore runtime library ('encore-runtime.node').
Current Investigation
After finding #1611, I understand I can't simply add the env variable to solve the issue.
Issue
When attempting to run pnpx @better-auth/cli generate I get the error:
Current Investigation
After finding #1611, I understand I can't simply add the env variable to solve the issue.
I found I can do the schema manually, as per https://better-auth.vercel.app/docs/concepts/database#core-schema, though this both bypasses the issue, and wouldn't resolve the issue if I opted to use the
migrate
command for better-authExpectation
Potentially a way to run commands in context to the running encore application.
Currently my stack
System
The text was updated successfully, but these errors were encountered: