diff --git a/packages/yoga/src/yogaDefaults.ts b/packages/yoga/src/yogaDefaults.ts index cff6409..5c8c52d 100644 --- a/packages/yoga/src/yogaDefaults.ts +++ b/packages/yoga/src/yogaDefaults.ts @@ -213,7 +213,7 @@ export function client( ): PrismaClientInput { if (input === undefined) { const clientPath = requiredPath( - join(projectDir, datamodelInfo.clientPath), + join(projectDir, datamodelInfo.clientPath, 'index.ts'), buildError(projectDir, datamodelInfo.clientPath, 'prisma.client'), )