[GH-ISSUE #77] CLI better-auth migrate can't resolve tsconfig paths "@/" #25439

Closed
opened 2026-04-17 15:39:04 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @xcaeser on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/77

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). Original GitHub issue: https://github.com/better-auth/better-auth/issues/77 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" ```
GiteaMirror added the locked label 2026-04-17 15:39:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#25439