sindresorhus/execa

v9.1.0 possible bug

dh049 opened this issue · 4 comments

when updating execa to v9.1.0, i get this error:
SyntaxError: The requested module 'node:events' does not provide an export named 'addAbortListener'

any ideas? all my files at .ts extention with esmodule import/export syntax.

Hi @dh049,

Thanks for reaching out.

The 9.0.0 major release increased the minimum Node.js version to 18.19.0. This error message seems to indicate you might be using an older Node.js version. Is that correct?

v20.0.0

The 9.0.0 major release also dropped support for Node 20.0.0 - 20.4.0.

I will close this issue, but if this still does not work with Node 20.5.0, please let me know, and I will re-open.

that did it. thanks.