[GH-ISSUE #45] missing adapter deps #25428

Closed
opened 2026-04-17 15:37:59 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @luksch42 on GitHub (Sep 30, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/45

The prettier dependency is missing

https://github.com/better-auth/better-auth/blob/main/packages/better-auth/src/adapters/drizzle-adapter/index.ts

Originally created by @luksch42 on GitHub (Sep 30, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/45 The prettier dependency is missing https://github.com/better-auth/better-auth/blob/main/packages/better-auth/src/adapters/drizzle-adapter/index.ts
GiteaMirror added the locked label 2026-04-17 15:37:59 -05:00
Author
Owner

@luksch42 commented on GitHub (Sep 30, 2024):

same for mysql2, better-sqlite3, and pg to get it running

<!-- gh-comment-id:2382699638 --> @luksch42 commented on GitHub (Sep 30, 2024): same for mysql2, better-sqlite3, and pg to get it running
Author
Owner

@Bekacru commented on GitHub (Sep 30, 2024):

The latest release addresses the Prettier dependency. But we've removed database packages from our dependencies since Next.js requires external dependencies to be installed in the main project. It didn't make sense to show errors for better-sqlite3 if you weren't using it. Now, if the required database package is missing, you'll get an error prompting you to install them. Let me know if you still have an issue.

<!-- gh-comment-id:2382943361 --> @Bekacru commented on GitHub (Sep 30, 2024): The latest release addresses the Prettier dependency. But we've removed database packages from our dependencies since Next.js requires external dependencies to be installed in the main project. It didn't make sense to show errors for better-sqlite3 if you weren't using it. Now, if the required database package is missing, you'll get an error prompting you to install them. Let me know if you still have an issue.
Author
Owner

@luksch42 commented on GitHub (Oct 1, 2024):

I think that's fixed. Someone on discord had the same issue, which was fixed.

<!-- gh-comment-id:2386554172 --> @luksch42 commented on GitHub (Oct 1, 2024): I think that's fixed. Someone on discord had the same issue, which was fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#25428