was anyone able to use Prisma + D1? My

was anyone able to use Prisma + D1? My app works locally but when I deploy it to Cloudflare i'm getting the error: fs.readdir is not implemented yet. Why would Prisma need access to the filesystem if it is configured to connect to D1? Its a real showstopper for me. I guess i will have to self-host the app if there is no solution.
2 Replies
will smith
will smith3w ago
yes, prisma+d1 is my favourite setup lately. just cloned one of my private repos so you can see a working example https://github.com/WillSmithTE/trafficlights-public-clone
GitHub
GitHub - WillSmithTE/trafficlights-public-clone
Contribute to WillSmithTE/trafficlights-public-clone development by creating an account on GitHub.
flowwise
flowwiseOP3w ago
You are life-saver! I'll be looking into it.

Did you find this page helpful?