And because of the above discussion (even though n...
# javascript
l
And because of the above discussion (even though no one has suggested JS is being dropped, it just appears to have lower priority), I have no started to port my application to wasm, starting with one of the more self-contained subprojects. Once I did the manual work, changing all the
js()
invocations, I tried to run the tests. That gives me the following error which gives me absolutely nothing when I search for it. Does anyone have any idea what's going on?
Copy code
> Task :mpbignum:wasmJsNodeTest FAILED
file:///home/elias/prog/array/build/js/packages/array-mpbignum-wasm-js-test/kotlin/array-mpbignum-wasm-js-test.uninstantiated.mjs:218
        const wasmModule = new WebAssembly.Module(wasmBuffer);
                           ^
CompileError: WebAssembly.Module(): invalid value type 0x71 @+348
    at instantiate (file:///home/elias/prog/array/build/js/packages/array-mpbignum-wasm-js-test/kotlin/array-mpbignum-wasm-js-test.uninstantiated.mjs:218:28)
    at async file:///home/elias/prog/array/build/js/packages/array-mpbignum-wasm-js-test/kotlin/array-mpbignum-wasm-js-test.mjs:3:17
Node.js v18.12.1
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mpbignum:wasmJsNodeTest'.
> command '/home/elias/.gradle/nodejs/node-v18.12.1-linux-x64/bin/node' exited with errors (exit code: 1)