OskarO
Denoβ€’14mo ago
Oskar

Prisma Client without Prisma Accelerate

Hi!
Im currently trying to migrate from node to deno and ran into issues regarding the Prisma Client (5.21.1)
I found the tutorial for using prisma in deno (https://docs.deno.com/runtime/tutorials/how_to_with_npm/prisma/)

This tutorial uses the prisma accelerate stuff but i definitly dont wanna use that. I cant get the prisma client itself running. It doesnt seem to work to import the default client (also in the custom generated directory). I always run into type errors where the PrismaClient isnt exported. Seems like it doesnt read the package.json or the index.d.ts next to the index.js, which im trying to import.

I'd be very grateful if anyone can assist me with that because its currently stopping me from making progress πŸ™
Was this page helpful?