PrismaP
Prisma13mo ago
3 replies
Just Nyde

Hello, i'm getting error when i start my project

I'm use Postgresql with Prisma but i'm getting this error when i start my project:

I tried connect postgresql with psql <link> and it's connected but i don't know why this error occured 😢
I'm tried npm update @prisma/client prisma but it didn't work
My model file:
generator client {
    provider = "prisma-client-js"
}

datasource db {
    provider = "postgresql"
    url      = env("DATABASE_URL")
}

model User {
    id           Int           @id @default(autoincrement())
    discordId    String        @unique
}

@prisma/client: ^6.2.1
prisma: 6.2.1

Ubuntu 22.04 jammy
image.png
Was this page helpful?