Oskar
Oskarβ€’2mo ago

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
Oskar
OskarOPβ€’2mo ago
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
Antonio Sampaio
Antonio Sampaioβ€’2mo ago
oh thanks, im looking for this too i'll test asap @Whitedog44
Whitedog44
Whitedog44β€’2mo ago
Yeah ! I'll give it a try πŸ™‚ Thanks @toninho do deno to have noticed me πŸ™‚
Antonio Sampaio
Antonio Sampaioβ€’2mo ago
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
Reddit
From the Deno community on Reddit
Explore this post and more from the Deno community