Generated Client Duplicate errors
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.
3 Replies
Hey!
Have you specified output path in your
schema.prisma
file?
Can you temporarily remove it and check if the error goes away?Hi! Yes, output is here. And removing it doesn't get rid of the errors
Is your project open source?
If yes, can you share a link to the repository so that I can investigate?