TanStack Start + Prisma edge + Cloudflare Worker fails during deployment
I am trying to deploy to Cloudfare Workers but getting the following reponse when visiting the deployed site:
Seeing this error on the Cloudflare worker side:
and also during the build, see this in the logs:
building on the Cloudflare side with:
Any suggestions on whats going on would be great ๐
7 Replies
correct-apricotOPโข2mo ago
schema.prisma:
vite config:
exotic-emeraldโข2mo ago
can you please create an issue here? https://github.com/cloudflare/workers-sdk
GitHub
GitHub - cloudflare/workers-sdk: โ
๏ธ Home to Wrangler, the CLI f...
โ
๏ธ Home to Wrangler, the CLI for Cloudflare Workersยฎ - cloudflare/workers-sdk
correct-apricotOPโข2mo ago
GitHub
TanStack Start + Prisma edge + Cloudflare Worker fails after deploy...
What versions & operating system are you using? System: OS: macOS 15.6.1 CPU: (14) arm64 Apple M4 Max Memory: 103.16 MB / 36.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 24.1.0 - /Users//.nvm/ve...
variable-limeโข2mo ago
in their docs they recommend a different provider and also recommend accelerate.
you could try
variable-limeโข2mo ago
How to use Prisma ORM and Prisma Postgres with TanStack Start | Pri...
Learn how to use Prisma ORM in a TanStack Start app
correct-apricotOPโข2mo ago
I am using everything the reccomend and still not working, when chaging to this, it crashes the local build with:
also, those docs seem outdated (still using vixi)
is there no example of tanstack start using cloudflare + prisma?
I see them seperately but seems like there is no clear way to do it together
exotic-emeraldโข2mo ago
no there is no such example