You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
@jdalton great! I've installed a Git checkout and that seemed to work. Let me know when this is released and I'll double-check with the npm release. Thanks for the quick response!
I'm trying to import https://github.com/cryptocoinjs/secp256k1-node. It exports bindings against a native module: https://github.com/cryptocoinjs/secp256k1-node/blob/master/bindings.js. Something goes wrong though when trying to call its exported methods.
With
test.js
:And
node -r esm test.js
I get aTypeError: Illegal invocation
.It works fine if I use
require()
instead.The text was updated successfully, but these errors were encountered: