Next.js Discord

Discord Forum

How to run prisma in next middleware?

Unanswered
aa55h posted this in #help-forum
Open in Discord
Getting this error, but not exactly sure what to do with it

2 Replies

ive installed the pg adapter & added the dev feature, but it still doesnt work
i want to use lucia to verify that used has a valid session