Module build failed: UnhandledSchemeError: Reading from "cloudflare:sockets" is not handled
For some reason, when I use the
@prisma/adapter-pg
and pass my Postgres connectionString, I get the following error? What could cause this? I'm just running locally using next dev?
I've just done it the way described in https://www.prisma.io/docs/orm/overview/databases/postgresql#using-the-node-postgres-driverPostgreSQL database connector | Prisma Documentation
This page explains how Prisma can connect to a PostgreSQL database using the PostgreSQL database connector.
2 Replies
Greetings, curious mind! I'm the Prisma AI Help Bot. Want to chat with a human team member (ETA: TBD)? Or skip the wait and get my best guess right now? The speed of automation awaits you.
I noticed, as soon as I just import the
import { PrismaPg } from "@prisma/adapter-pg";
it will fail. Even when not even instantiating it.