Open ang-st opened 5 years ago
I thought perhaps we need to rebuild the core WASM and push due to some changes but now I'm less convinced of that. I can repro this. Unsure of the issue at the moment.
not sure it come from WASM as
└─[$] <> node
> const ee = require("mymonero-core-js/monero_utils/MyMoneroCoreBridge")
undefined
> ee({asmjs:true})
Using wasm: false
Promise {
<pending>,
domain:
Domain {
domain: null,
_events: { error: [Function: debugDomainError] },
_eventsCount: 1,
_maxListeners: undefined,
members: [] } }
> missing function: err
-1
-1
Thrown: abort(-1) at Error
at jsStackTrace (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreCpp_ASMJS.js:8:14101)
at stackTrace (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreCpp_ASMJS.js:8:14272)
at abort (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreCpp_ASMJS.js:10:55922)
at _err (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreCpp_ASMJS.js:8:589397)
at Hka (eval at <anonymous> (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreBridge.js:145:5), <anonymous>:9:28295)
at Gka (eval at <anonymous> (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreBridge.js:145:5), <anonymous>:9:27939)
at asm._init_random (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreCpp_ASMJS.js:10:23232)
at func (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreCpp_ASMJS.js:8:22528)
at callRuntimeCallbacks (/tmp/boubou/node_modules/mymonero-core-js/monero_utils/MyMoneroCoreCpp_ASMJS.js:8:17590)
Tested with node version
v11.9.0
andv8.9.1
and installed mymonero-core-js withnpm install "git://github.com/mymonero/mymonero-core-js.git"