PrismaP
Prisma3mo ago
3 replies
Vortex

Prisma 7 not working with wrangler dev (Cloudflare)

Prisma PostgresORM
Getting this error:
TypeError: The "path" argument must be of type string or an instance of URL. Received undefined


generator client
looks like this:
generator client {
  provider = "prisma-client"
  output   = "../src/generated/prisma"
}


Import looks like this:
import { PrismaClient } from '../src/generated/prisma/client';
Was this page helpful?