Skip to content

Error in WebAssembly runtime #2

@somethingconcon

Description

@somethingconcon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions