T
TanStack4mo ago
unwilling-turquoise

Readable from stream

Is there a way to know where this error came from? I can't find any info about it
No description
5 Replies
extended-salmon
extended-salmon4mo ago
most likely you are using some server only functionality in a loader/beforeLoad but those run on the client AND server so one solution is to wrap this into a server function so it always runs on the server we are working on making these error messages better soon
unwilling-turquoise
unwilling-turquoiseOP4mo ago
yes I just found out that getHeader was called in a code, wrapper in server fn and that did the trick
firm-tan
firm-tan4mo ago
Can you elaborate on this, I ran into the same error
extended-salmon
extended-salmon4mo ago
do you have a loader / beforeLoad that uses something like "getHeader" ?
firm-tan
firm-tan3mo ago
@Manuel Schiller yes I do - but its wrapped in a serverfn

Did you find this page helpful?