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 π
4 Replies
Okay i finally found a solution!
I searched up prismas testing for deno and found this:
https://github.com/prisma/ecosystem-tests/blob/dev/runtimes/deno/src/index.ts
GitHub
ecosystem-tests/runtimes/deno/src/index.ts at dev Β· prisma/ecosyste...
π₯Όπ§¬π§ͺπ¬π§«π¦ - Continuously tests Prisma Client with various operating systems, frameworks, platforms, databases and more. - prisma/ecosystem-tests
oh thanks, im looking for this too
i'll test asap
@Whitedog44
Yeah ! I'll give it a try π
Thanks @toninho do deno to have noticed me π
i found this: https://www.reddit.com/r/Deno/comments/1g5f1s9/roadblock_trying_to_setup_deno_with_prisma/
i'll test asap (yep again)
every test i make i cant get it working