#Prisma 7 not working with wrangler dev (Cloudflare)

3 messages · Page 1 of 1 (latest)

kind steeple
#

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';
cinder vergeBOT
#

You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the #ask-ai channel awaits if you're curious!

kind steeple
#

Prisma 7 not working with wrangler dev (Cloudflare)