cloudflare [ERROR] Uncaught (in response) TypeError: This ReadableStream did not return bytes.
getting this error when I attempt to deploy to cloudflare pages following the instructions. my route loader is working because it triggers a redirect i call in my beforeLoad.
repo is here https://github.com/matthewdavi/minesweeper
GitHub
GitHub - matthewdavi/minesweeper
Contribute to matthewdavi/minesweeper development by creating an account on GitHub.
9 Replies
unwilling-turquoiseOP•8mo ago
kinda works if i change defaultStreamHandler to defaultRenderHandler but causes a hydration error
eager-peach•8mo ago
same as this, right? https://github.com/TanStack/router/issues/3295
GitHub
TanStack Start on Cloudflare Pages is broken ("ReadableStream did n...
Which project does this relate to? Start Describe the bug Pretty much the title, once deployed I get on browser requests following errors. I used the original code snippets from https://tanstack.co...
unwilling-turquoiseOP•8mo ago
yes
eager-peach•8mo ago
I fixed it in https://github.com/TanStack/router/releases/tag/v1.99.1
GitHub
Release v1.99.1 · TanStack/router
Version 1.99.1 - 2/1/25, 7:53 PM
Changes
Fix
start: fix stream handling on cloudflare (#3304) (df137ba) by Manuel Schiller
Packages
@tanstack/start-server@1.99.1
@tanstack/start@1.99.1
@tanstack...
unwilling-turquoiseOP•8mo ago
i bumped to this version and now i'm getting a new error. @Manuel Schiller happens only sometimes

eager-peach•8mo ago
locally?
maybe delete caches
unwilling-turquoiseOP•8mo ago
hm, was happening in both but now it's gone on cloudflare
https://tansweeper.pages.dev/ built this, you might like it. minesweeper that runs with js disabled, using type safe tanstack start links and stores all state in the url bar
plain-purple•8mo ago
That’s awesome!
eager-peach•8mo ago
lol the URL state ... 😄