assaf/node-replay

Breaks `got` v11 on Node.JS v14

api-haus opened this issue · 2 comments

This package breaks usage of IncomingMessage as AsyncIterator.
Including libraries like: got.

for await (const chunk of request)

Leads to:

TypeError: Cannot read property 'readable' of undefined

Leaving there just to save time for people searching for this issue.

I was able to solve this by switching to nock's version of vcr/replay Nock Back

https://github.com/nock/nock#nock-back

We switched to Pollyjs.