PrismaP
Prisma8mo ago
5 replies
PDDO

Cloudflare Workers

Hi! I’m having trouble using Prisma with Cloudflare D1 on Cloudflare Workers.

I created two minimal examples:
✅ This one works: https://github.com/catpddo/test-d1-hono
❌ This one fails to run on Workers: https://github.com/catpddo/test-d1

Both use the same Prisma + D1 setup, but the second one throws an environment-related error when deployed. I’ve also posted the issue here:
👉 https://github.com/prisma/prisma/discussions/27297

Would really appreciate any ideas or tips! 🙏 English is not my first language, so sorry if anything is unclear.
GitHub
Contribute to catpddo/test-d1-hono development by creating an account on GitHub.
GitHub - catpddo/test-d1-hono
GitHub
Contribute to catpddo/test-d1 development by creating an account on GitHub.
GitHub - catpddo/test-d1
GitHub
Question Hi everyone, I’m currently working with Prisma + Cloudflare D1 + Cloudflare Workers, and I’m confused by an issue I can’t figure out. English isn’t my first language, so I’ve created two m...
❓ Issue: Two Prisma + Cloudflare D1 Projects, Same Setup — One ...
Was this page helpful?