Prisma

P

Prisma

The official Discord server of Prisma! Find us online at prisma.io

Join

Prisma 7 - Error opening TLS connection (cockroachdb)

I migrated from Prisma 6 to Prisma 7. And i am facing client connection related error.
Error opening a TLS connection: unable to verify the first certificate
Error opening a TLS connection: unable to verify the first certificate
Database: cockroachdb...

Help! facing this enum export issue.

I sometimes face this issue, i upgraded the Prisma to V7, it was working perfect, Today i tried to regenerate the prisma client and ended up having this issue.
No description

Prisma 7 Setup with Cloudflare D1 Adapter

Hello, I'm trying to add prisma to a project that uses Cloudflare D1 database; I've followed the provided steps which are - add dotenv + prisma (dev) - add @prisma/client...

Erro ao tentar usar prisma com Javascript

Não estou conseguindo utilizar o prisma + SQLite com javascript, ao tentar importar o prisma exibe o seguinte erro.
No description

Type 'DecimalJsLike' is not assignable to type 'Value'.

My models: ```prisma model Order { id Int @id @default(autoincrement()) [...]...

Primeiros passos com Prisma + SQLite usando JS

I tried following the tutorial in the documentation, but I'm having trouble using Prisma ORM without TypeScript, as I want to use it with JavaScript and SQLite. Could someone provide me with a step-by-step guide for installation and integration?

Getting start with Prisma + SQLite using JS

I've tried following the tutorial in the documentation, but I'm having trouble using Prisma ORM without Typescript, as I want to use it with JavaScript. Could someone provide me with a step-by-step guide for installation and integration?

PrismaClientKnownRequestError

I'm receiving a PrismaClientKnownRequestError with err.code === "P2002" (unique constraint violation), but err.meta.target is always undefined in the latest Prisma versions. Previously, err.meta.target contained the list of fields that caused the constraint violation. Now that it's undefined, there is no way to determine which fields triggered the error — especially when a model has multiple unique constraints or compound unique indexes. This creates a problem for implementing a global middleware/error handler, because we cannot identify which specific field (or combination of fields) violated the unique constraint....

Alma linux

Will prisma be working with alma lunix?

how to keep it generated in @prisma/client

how to keep it generated in @prisma/client

Error

⨯ TypeError: Cannot read properties of undefined (reading '__internal') at prismaClientSingleton (webpack-internal:///(rsc)/./src/lib/prisma.ts:9:12) at eval (webpack-internal:///(rsc)/./src/lib/prisma.ts:11:43) at <unknown> (rsc)/./src/lib/prisma.ts (/Users/nicolaeser/Documents/Development/PROVID/website/.next/dev/server/app/[locale]/(app)/app/page.js:239:1) at eval (webpack-internal:///(rsc)/./src/lib/auth.ts:11:69)...

why do i get this build error after updating to prisma 7?

``` Failed to compile. ./src/generated/prisma/client.ts Module not found: Can't resolve './internal/class.js'...

Cannot sign in to the prisma VS Code extension with email

I created a Prisma console account with my email, I now want to use the Prisma VS Code extension but when it redirects me to authenticate there is no email option for log in. Is there any other way to authenticate with mail to use the extension, or is there maybe a way to connect my account to github so that I can log in that way? I appreciate the help...
No description

Prisma 7 cloudflare

Hello, I have updated to prisma 7 and ran into some issues while deploying to cloudflare. It fails during build. ``` 13:37:01.063 ./src/lib/validation/profile.schema.ts...

adapter

Good day everyone, I am using nest.js with prisma in a docker environment but I haven't succeeded to seed my Database due to the following error in the attached inage. could some give some help?...
No description

Is Tiberius abandoned?

Hi folks @ Prisma. Is the Tiberius project abandoned? There's only two commits this year, and an actual release hasn't been done since July 2024 by Flavian Desverne, however he is no longer working at Prisma. I've put forwards a pull request but don't have high hopes of it getting merged any time soon, given there's PR's going back to 2023 still waiting....

Issue installing latest Prisma in Next.js

Hey currently I have duplicates of schema.prisma in all of my APIs I want to create a shared/prisma/schema.prisma in the root of the repo. I'm installing Prisma in my Next.js project just to use the types. I do all of my database querying on a dedicated website_api on different service provider to be decoupled from Next.js and for security. I'm running into issues generating the types with Next.js. ...

Cannot find module

Im working on a Nestjs Project with Prisma v7 Error: Cannot find module './generated/prisma/client' Require stack: - /Users/jack/Documents/Jedlabs Projects/fleet/apps/backend/dist/database/database.service.js - /Users/jack/Documents/Jedlabs Projects/fleet/apps/backend/dist/database/database.module.js...

Prisma Type Error

Hey have anyone come across this error: src/database/generated/prisma/internal/prismaNamespace.ts:114:14 - error TS2742: The inferred type of 'DbNull' cannot be named without a reference to '.pnpm/@prisma+client-runtime-utils@7.0.1/node_modules/@prisma/client-runtime-utils'. This is likely not portable. A type annotation is necessary. 128 export const AnyNull = runtime.AnyNull ~~~...

Error running local prisma dev server

I'm getting the following errors when I try to run npx prisma dev. This is on a fresh new nextjs project after successfully running prisma init. Any idea what's causing this?
Next