[GH-ISSUE #266] Cannot find module better-auth/adapters/drizzle #25518

Closed
opened 2026-04-17 15:46:55 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @claughinghouse on GitHub (Oct 20, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/266

Describe the bug
When trying to use the drizzleAdapter I run into this typescript error: cannot find module better-auth/adapters/drizzle

To Reproduce
Steps to reproduce the behavior:

  1. Install better-auth
  2. import it into the file
  3. Import the drizzleAdapter per the docs
  4. Error pops up

Expected behavior
No issue importing the module or types in typescript.

Screenshots
Screenshot 2024-10-20 at 11 11 59 AM

Desktop (please complete the following information):

  • OS: macOS
  • Browser: N/A
  • Version: N/A - better-auth 0.5.2-beta.7

Additional context
Add any other context about the problem here.

Originally created by @claughinghouse on GitHub (Oct 20, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/266 **Describe the bug** When trying to use the `drizzleAdapter` I run into this typescript error: `cannot find module better-auth/adapters/drizzle` **To Reproduce** Steps to reproduce the behavior: 1. Install better-auth 2. import it into the file 3. Import the `drizzleAdapter` per [the docs](https://www.better-auth.com/docs/concepts/database#drizzle-adapter) 4. Error pops up **Expected behavior** No issue importing the module or types in typescript. **Screenshots** <img width="1332" alt="Screenshot 2024-10-20 at 11 11 59 AM" src="https://github.com/user-attachments/assets/92da1b9a-f8f0-430e-8175-8730558e206b"> **Desktop (please complete the following information):** - OS: macOS - Browser: N/A - Version: N/A - better-auth 0.5.2-beta.7 **Additional context** Add any other context about the problem here.
GiteaMirror added the locked label 2026-04-17 15:46:55 -05:00
Author
Owner

@Bekacru commented on GitHub (Oct 20, 2024):

can you confirm if this still an issue on latest version 0.5.2-beta.16?

<!-- gh-comment-id:2425038505 --> @Bekacru commented on GitHub (Oct 20, 2024): can you confirm if this still an issue on latest version `0.5.2-beta.16`?
Author
Owner

@claughinghouse commented on GitHub (Oct 20, 2024):

can you confirm if this still an issue on latest version 0.5.2-beta.16?

At first pass looks like this is fixed in 0.5.2-beta.16.

<!-- gh-comment-id:2425044246 --> @claughinghouse commented on GitHub (Oct 20, 2024): > can you confirm if this still an issue on latest version `0.5.2-beta.16`? At first pass looks like this is fixed in `0.5.2-beta.16`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#25518