Closed JeremyBernier closed 4 years ago
Which version of Node are you running? Async iterators are supported in version 10 and up, and I’ve set the package.json#engines
field appropriately. npm should give a warning, and yarn should fail, when trying to install the library on anything lower than 10. Now that version 12 is in LTS, I don’t think that’s an unreasonable minimum version.
Yea was on version 8 something, not sure why I didn't see a warning. Upgraded and fine now.
When attempting to run the sample code at the top of the README.md, this is the result:
I think it'd be helpful to new users to resolve this, either by directing users to the steps they need to take to enable support for async generators, or if possible by compiling it down to ES5/ES6 so that they don't need an extra transpilation step.