Nx-prisma conflict with multiple apps #1090
Unanswered
sourcecodeit
asked this question in
Q&A
Replies: 1 comment
-
I was able to make it work with this solution: prisma/prisma#7470 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have an issue with nx-prisma in a workspace where 2 apps use Prisma each with theirs own schema.
I added this in both schema.prisma:
both project.json have:
The command:
npx nx run-many -t prisma-generate
works, but if I try to build too then it fails:
npx nx run-many -t prisma-generate build
Clearly, running both tasks on a single project works:
Any idea about how to properly configure this?
Beta Was this translation helpful? Give feedback.
All reactions