Next.js Discord

Discord Forum

PrismaClient() "An argument for 'options' was not provided."

Unanswered
Morelet’s Crocodile posted this in #help-forum
Open in Discord
Morelet’s CrocodileOP
trying to follow a tutorial where they made us put this in (first image) however orisma client won’t worn? error or whatever problem is on the second image but idk to do here but when i’m on the localhost it won’t load the page bcs of this problem and i don’t get how to fix it. i have everything from prisma set up i believe but not sure of

5 Replies

which in most cases is the adapter
Otherwise, it won’t know what to connect to.
once this is done it should work