PrismaP
Prisma7mo ago
3 replies
will smith

D1 Guide out of date?

Is the D1 guide still up to date? https://www.prisma.io/docs/guides/cloudflare-d1

I've got a repro here, which was created using the react router cloudflare template, then just followed that guide.

Repo: https://github.com/WillSmithTE/prisma-d1
Deployed worker: https://prisma-d1.willsmithte.workers.dev/
Error:
No such module "assets/.prisma/client/default".
  imported from "assets/server-build-CF31rFqq.js"
Learn how to use Prisma ORM with Cloudflare D1
How to use Prisma ORM with Cloudflare D1 | Prisma Documentation
GitHub
Contribute to WillSmithTE/prisma-d1 development by creating an account on GitHub.
GitHub - WillSmithTE/prisma-d1
Was this page helpful?