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
(node:92224) UnhandledPromiseRejectionWarning: TypeError: wasm functionsignature contains illegal type
at require.load.then.module (/Users/Peng/Downloads/wasm-project-yolspucnghl/out/program.js:7:45)
(node:92224) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:92224) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Is there a gap between the AssemblyScript and webassembly?
And is there a node.js module to run the webassembly modules that AseemblyScript compiled.
The text was updated successfully, but these errors were encountered:
Support for i64's on the boundary is behind the --experimental-wasm-bigint flag in current node. Enabling that should make it work, with BigInts representing the respective i64 value in JS.
An alternative to using experimental features is to return an i32 for the low bits, and export another helper function returning the high bits of the last operation as another i32. Something like long.js's Long.fromBits can work with these.
As the description, the module provider runtime for WebAssembly modules.
I used
AssemblyScript
to compile the typescript file to wasm.Then, using the
webassembly
to run the module,I got the error below
Is there a gap between the
AssemblyScript
andwebassembly
?And is there a node.js module to run the webassembly modules that
AseemblyScript
compiled.The text was updated successfully, but these errors were encountered: