Repository navigation
Replies: 4 comments 1 reply
|
For those who sill strugle, if you use postgres check this page out, no matter using nestjs or pure nodejs it worked for me add adapter https://www.prisma.io/docs/getting-started/prisma-orm/quickstart/prisma-postgres |
1 reply
|
You need to configure a driver adapter. See https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7#driver-adapters-and-client-instantiation |
0 replies
|
@sedhha As pointed out, you need to add a driver adapter. Please let me know in case you still get an error after adding Driver Adapter. |
0 replies
|
Hi, As we have not heard back from you, we are closing this discussion to keep our discussions organized. Feel free to start a new discussion if this remains relevant. Thank you for being part of the community! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Bug description
I am new to prisma and have my prisma setup in an existing next js project as per docs:
npx prisma initprovided me these 2 files:
and schema:
When I tried doing
prisma db pullit worked fine however when I try to run my build:Not sure what's going wrong here. I would be investigating more. Here's my package json:
{ "name": "ui", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "biome check", "format": "biome format --write" }, "dependencies": { "@prisma/client": "^7.0.0", "firebase": "^12.6.0", "firebase-admin": "^13.6.0", "lucide-react": "^0.554.0", "next": "16.0.3", "react": "19.2.0", "react-dom": "19.2.0", "zod": "^4.1.12", "zustand": "^5.0.2" }, "devDependencies": { "@biomejs/biome": "2.2.0", "@tailwindcss/postcss": "^4", "@types/node": "^20", "@types/react": "^19", "@types/react-dom": "^19", "babel-plugin-react-compiler": "1.0.0", "dotenv": "^17.2.3", "mysql2": "^3.15.3", "prisma": "^7.0.0", "tailwindcss": "^4", "typescript": "^5" } }Severity
🚨 Critical: Data loss, app crash, security issue
Reproduction
Expected vs. Actual Behavior
Expected Behavior -
Build should have succeeded however this is breaking everytime.
Frequency
Consistently reproducible
Does this occur in development or production?
Both development and production
Is this a regression?
It works in prisma 6.X versions but breaks in prisma 7 for mysql.
Workaround
Downgrading to Prisma 6.19.0
Prisma Schema & Queries
Prisma Config
Logs & Debug Info
7.0.0
All reactions