Next + Cloudflare Workers + D1
I'm trying to use Prisma in a Next app on Cloudflare Workers and D1.
I have gone through all the setup steps and tried to use the ...FORCE_WASM...=1
But on actual deploy, I keep getting
I have gone through all the setup steps and tried to use the ...FORCE_WASM...=1
But on actual deploy, I keep getting
fs.readdir not available. My understanding is that this should work, that prisma supports edge runtimes (examples for prisma+d1 exist), and that something is not being built or setup right such that prisma doesn't try to use functions it knows it shouldn't in an edge runtime