CLI better-auth migrate can't resolve tsconfig paths "@/" #32

Closed
opened 2026-03-13 07:27:52 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @xcaeser on GitHub (Oct 3, 2024).

When using drizzle for example, better-auth migrate is having a hard time resolving db which comes from "@/db", instead need to use

import {db} from "../db"
Originally created by @xcaeser on GitHub (Oct 3, 2024). When using drizzle for example, better-auth migrate is having a hard time resolving db which comes from "@/db", instead need to use ```ts import {db} from "../db" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#32