Closed aethr closed 10 months ago
Thanks for the issue, it seems like all node 16 tests are passing but they are running on v16.20.2
as of writing this comment, so updating your node version should fix this. With that said, we will be dropping support for node 16
in v4
since its now deprecated so this will not be an issue then.
Version details
Package version: 3.0.0 node version: 16.13.2
Issue
Running
oslllo-svg-fixer
or importing the package into a.js
file throws the error:Root cause
It seems that the version of
piscina
package used in the project no longer supports node v16 or earlier, due to using a built-in version ofEventEmitterAsyncResource
.Workaround
The fix is simply to use node v18 or higher:
No issue with this myself, but it might be worth updating the documentation. Hopefully anyone else who runs into this will find this issue.