Argument of type ReadableStream<Uint8Array> is not assignable to parameter of type ReadableStream<any> #8522
Replies: 2 comments 2 replies
-
If anyone comes across this, I just ended up using Axios for this specific part of my remix app since you can use
|
Beta Was this translation helpful? Give feedback.
-
Hi @timothymalcham, just want to say thanks that I am having similar issue with the For anyone who are curious, I am trying to pipe |
Beta Was this translation helpful? Give feedback.
-
I'm using a node lib (csv-batch) that expects a
Readable
but I'm having a lot of issues getting something from node-fetch's response.body that will work.If I try to just pass in
response.body
I get an error about no.pipe()
existing, which seems in line with MDN's documentation.So now I'm trying
Readable.fromWeb
but I get this error:Argument of type ReadableStream<Uint8Array> is not assignable to parameter of type ReadableStream<any>
and the code doesn't work. Is there an alternative that I can use in Remix's node package?I've tried referencing this issue: #3862, but no luck so far implementing the suggestions there.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions