Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

How to run web app with wasmer #6

@sebagomez

Description

@sebagomez

I'm using wasmer and I'm able to run the console application as explained, but I cannot seem to find how to run the web app.

dotnet run throws the following error

An error occurred trying to start process 'wasmtime' with working directory '/Users/eq12350/dev/seba/wasm-dotnet/src/web'. No such file or directory

Where is that wastime coming from? how can I configure wasmer?

Running just wasmer module.was throws the following

❯ wasmer bin/Debug/net7.0/web.wasm                                                                       
error: failed to run `bin/Debug/net7.0/web.wasm`
│   1: failed to instantiate WASI module
╰─▶ 2: Error while importing "wasi_snapshot_preview1"."sock_accept": unknown import. Expected Function(FunctionType { params: [I32, I32, I32], results: [I32] })

Thanks

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