Open multiplehats opened 1 year ago
@prisma/client needs to be both installed in apps/web as well as packages/database.
@prisma/client
apps/web
packages/database
It's currently not possible to do import { PrismaClient } from '@acme/database' as it will throw an error: module is not defined.
import { PrismaClient } from '@acme/database'
module is not defined
Related to this issue, alternatively see this Slack thread.
@prisma/client
needs to be both installed inapps/web
as well aspackages/database
.It's currently not possible to do
import { PrismaClient } from '@acme/database'
as it will throw an error:module is not defined
.Related to this issue, alternatively see this Slack thread.