Readable from stream
Is there a way to know where this error came from? I can't find any info about it

5 Replies
extended-salmon•4mo 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-turquoiseOP•4mo ago
yes I just found out that
getHeader
was called in a code, wrapper in server fn and that did the trickfirm-tan•4mo ago
Can you elaborate on this, I ran into the same error
extended-salmon•4mo ago
do you have a loader / beforeLoad that uses something like "getHeader" ?
firm-tan•3mo ago
@Manuel Schiller yes I do - but its wrapped in a serverfn