Using Serverless Drivers with Cloudflare Workers #22304
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
So sad, I got this error today adter long coding. It seems that Prisma will lock it client to run via proxy. So many dependencies comes. |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, To keep our discussions organized and focused on the most relevant topics, we’re reviewing and tidying up our backlog. As part of this process, we’re closing discussions that haven’t had any recent activity and appear to be outdated. If this discussion is still important to you or unresolved, we’d love to hear from you! Feel free to reopen it or start a new one with updated details. For more details about our priorities and vision for the future of Prisma ORM, check out our latest blog post: https://www.prisma.io/blog/prisma-orm-manifesto. Thank you for your understanding and being part of the community! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi,
I was reading through the announcement post on Prisma Blog and was wondering if is it possible to use the new Serverless Drivers with Cloudflare Workers?
I've set everything up, enabled the
driversAdaptersfeature in my schema but I can't get it to work in Cloudflare Workers.When I try to run that in a Worker, I get the following error:
PrismaClient is unable to run in Cloudflare Workers. As an alternative, try Accelerate: https://pris.ly/d/accelerate.Is there any way to get it working without Accelerate?
Thanks!
Information about Prisma Schema, Client Queries and Environment (optional)
Here's my code:
Beta Was this translation helpful? Give feedback.
All reactions