You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rejected with error: RequestError: The `body` option must be a stream.Readable, string or Buffer
Expected behavior
Upload the stream data as request body.
The readable-stream module is a node official implementation of streams2+, with 50M weekly downloads. It is recommended to use to get a stable stream implementation across node releases, so I would expect it to work here.
Describe the bug
Actual behavior
Rejected with error:
RequestError: The `body` option must be a stream.Readable, string or Buffer
Expected behavior
Upload the stream data as request body.
The
readable-stream
module is a node official implementation of streams2+, with 50M weekly downloads. It is recommended to use to get a stable stream implementation across node releases, so I would expect it to work here.Code to reproduce
Note, this is fixed with #1424, but there might be a more appropriate fix, like a duck-typed check for the
_readableState
property.Checklist
The text was updated successfully, but these errors were encountered: