OpenSSL icon indicating copy to clipboard operation
OpenSSL copied to clipboard

Error in WebAssembly runtime

Open somethingconcon opened this issue 5 years ago • 0 comments

Hello,

I'm not sure if this is a question for this package or a question at a different level. This is my first step in trying to resolve so if I am not posting in the correct place please let me know.

When loading the module and executing

fetch('openssl.wasm').then(response => response.arrayBuffer() ).then(bytes => WebAssembly.instantiate(bytes, importObject) ).then(results => { // Do something with the results! });

I get the following error: Uncaught (in promise) TypeError: import object field 'wasi_unstable' is not an Object

Any help would be greatly appreciated.

somethingconcon avatar Jan 14 '21 17:01 somethingconcon