Skip to content

Getting a working browser example #7

@matthiasseemoo

Description

@matthiasseemoo

Thank you for this project. I wanted to get started with the browser example, however, I always get the following error messages in Chrome:

wasmfs.esm.js:127 ExperimentalWarning: The fs.promises API is experimental
a.emitWarning.a.emitWarning @ wasmfs.esm.js:127
get @ wasmfs.esm.js:251
c @ wasmfs.esm.js:300
(anonymous) @ wasmfs.esm.js:301
u @ wasmfs.esm.js:21
(anonymous) @ wasmfs.esm.js:300
browser.openssl.js:176 Catched error: Error: ENOENT: no such file or directory, open '/usr/local/ssl/openssl.cnf'
browser.openssl.js:176 Catched error: Error: WASI Exit error: 0
browser.openssl.js:154 Uncaught (in promise) Error: WASI Exit error: 0
    at new b (browser.openssl.js:154)
    at Object.exit (browser.openssl.js:145)
    at proc_exit (browser.openssl.js:175)
    at g.wasiImport.<computed> (browser.openssl.js:176)
    at _Exit (:3000/test/<anonymous>:wasm-function[4209]:0x138558)
    at exit (:3000/test/<anonymous>:wasm-function[4245]:0x139fa6)
    at main (:3000/test/<anonymous>:wasm-function[73]:0x13986)
    at _start (:3000/test/<anonymous>:wasm-function[25]:0x20cb)
    at a.start (browser.openssl.js:177)
    at run (browser.openssl.js:223)
b @ browser.openssl.js:154
exit @ browser.openssl.js:145
proc_exit @ browser.openssl.js:175
g.wasiImport.<computed> @ browser.openssl.js:176
_Exit @ 007945c2:1
exit @ 007945c2:1
main @ 007945c2:1
_start @ 007945c2:1
a.start @ browser.openssl.js:177
run @ browser.openssl.js:223
async function (async)
(anonymous) @ browser.js:14
(anonymous) @ browser.js:20
DevTools failed to load SourceMap: unreachable

Any idea on how to get a running example setup would be helpful.

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