#Generated Client Duplicate errors

1 messages · Page 1 of 1 (latest)

brave gulch
#

Prisma: 6.8.2
@Prisma/client: 6.8.2
IDE: Vistual Studio Code

I have a mono-repo project, created two packages with different schemas that I will be using in my projects
After generating client and opening schema.prisma I have errors about duplicated values inside schema, screenshot:

Both packages generated clients doesn't intersect with each other, both generated clients lay in different folders.
As I'm understand it's just not major error because I can use generated clients, all work fine but those errors are annoying. I think that they occure because of prisma server.

spring crater
#

Hey!

Have you specified output path in your schema.prisma file?
Can you temporarily remove it and check if the error goes away?

brave gulch
#

Hi! Yes, output is here. And removing it doesn't get rid of the errors

generator client {
  provider = "prisma-client-js"
  output = "./generated/client"
}