1.5 adds prisma as a dependency #2979

Closed
opened 2026-03-13 10:31:54 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @phil-hypercell on GitHub (Mar 4, 2026).

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Update better-auth to 1.5.1

Current vs. Expected behavior

Current behavior

pnpm why prisma output:

prisma@7.4.2
├─┬ @better-auth/prisma-adapter@1.5.1
│ └─┬ better-auth@1.5.1

Expected behavior

no prisma as in version 1.4.x

What version of Better Auth are you using?

1.5.1

System info

{
  "system": {
    "platform": "darwin",
    "arch": "arm64",
    "version": "Darwin Kernel Version 25.3.0: Wed Jan 28 20:54:22 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T6030",
    "release": "25.3.0",
    "cpuCount": 11,
    "cpuModel": "Apple M3 Pro",
    "totalMemory": "36.00 GB",
    "freeMemory": "0.16 GB"
  },
  "node": {
    "version": "v24.13.0",
    "env": "development"
  },
  "packageManager": {
    "name": "pnpm",
    "version": "10.30.3"
  },
  "frameworks": [
    {
      "name": "react",
      "version": "^19.2.4"
    },
    {
      "name": "react-router",
      "version": "^7.13.0"
    }
  ],
  "databases": [
    {
      "name": "pg",
      "version": "^8.18.0"
    },
    {
      "name": "drizzle",
      "version": "^0.45.1"
    }
  ],
  "betterAuth": {
    "version": "Unknown",
    "config": null,
    "error": "Cannot find module 'database/db.server'\nRequire stack:\n- /Users/philip/projects/studio-portal/app/lib/auth.server.ts"
  }
}

Which area(s) are affected? (Select all that apply)

Package

Auth config (if applicable)


Additional context

No response

Originally created by @phil-hypercell on GitHub (Mar 4, 2026). ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce Update better-auth to 1.5.1 ### Current vs. Expected behavior **Current behavior** `pnpm why prisma` output: ``` prisma@7.4.2 ├─┬ @better-auth/prisma-adapter@1.5.1 │ └─┬ better-auth@1.5.1 ``` **Expected behavior** no prisma as in version 1.4.x ### What version of Better Auth are you using? 1.5.1 ### System info ```bash { "system": { "platform": "darwin", "arch": "arm64", "version": "Darwin Kernel Version 25.3.0: Wed Jan 28 20:54:22 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T6030", "release": "25.3.0", "cpuCount": 11, "cpuModel": "Apple M3 Pro", "totalMemory": "36.00 GB", "freeMemory": "0.16 GB" }, "node": { "version": "v24.13.0", "env": "development" }, "packageManager": { "name": "pnpm", "version": "10.30.3" }, "frameworks": [ { "name": "react", "version": "^19.2.4" }, { "name": "react-router", "version": "^7.13.0" } ], "databases": [ { "name": "pg", "version": "^8.18.0" }, { "name": "drizzle", "version": "^0.45.1" } ], "betterAuth": { "version": "Unknown", "config": null, "error": "Cannot find module 'database/db.server'\nRequire stack:\n- /Users/philip/projects/studio-portal/app/lib/auth.server.ts" } } ``` ### Which area(s) are affected? (Select all that apply) Package ### Auth config (if applicable) ```typescript ``` ### Additional context _No response_
GiteaMirror added the dependencies label 2026-03-13 10:31:54 -05:00
Author
Owner

@himself65 commented on GitHub (Mar 4, 2026):

We fixed this on 1.5.2. Thanks for the feedback

No we didn't

@himself65 commented on GitHub (Mar 4, 2026): ~~We fixed this on 1.5.2. Thanks for the feedback~~ No we didn't
Author
Owner

@phil-hypercell commented on GitHub (Mar 9, 2026):

@himself65 fixed in 1.5.3, reintroduced in 1.5.4

@phil-hypercell commented on GitHub (Mar 9, 2026): @himself65 fixed in 1.5.3, reintroduced in 1.5.4
Author
Owner

@jperezrealini commented on GitHub (Mar 11, 2026):

Image

this explains the spike. probably most of those installs are unwanted.

@jperezrealini commented on GitHub (Mar 11, 2026): <img width="403" height="539" alt="Image" src="https://github.com/user-attachments/assets/6b56e3e2-dac1-492a-abfe-0c450aa30f43" /> this explains the spike. probably most of those installs are unwanted.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2979