Grant3W
Grant3W
DDeno
Created by Sun「無用」 on 12/30/2024 in #help
Prisma in deno
I had a simlar error to the issue you are having. Try deleteing the prisma directories from your node_modules folder, running npm install and trying again. Also... - Use --unstable-detect-cjs when running your server. - Use engineType = "library" in your Prisma schema. - Use previewFeatures = ["deno"] in your Prisma schema. - When importing your client, use import { type PrismaClient } from "{path-to-generated}/generated/client/index.d.ts";
20 replies