I've seen this with a few native modules that when they try to be used within the new NodeJS Workers feature they don't work.
I've been using this lib via a E2E test framework so a little hard to reproduce
The error message you get is Module did not self-register. I think this is potentially a load order issue and i've seen the same issue with other native libraries:
codeceptjs/codeceptjs-resemblehelper#57
Similar issue: web3/web3.js#2723
I've seen this with a few native modules that when they try to be used within the new NodeJS Workers feature they don't work.
I've been using this lib via a E2E test framework so a little hard to reproduce
The error message you get is
Module did not self-register.I think this is potentially a load order issue and i've seen the same issue with other native libraries:codeceptjs/codeceptjs-resemblehelper#57
Similar issue: web3/web3.js#2723