Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Hello World tutorial fails to publish #119

Open
sanderpick opened this issue Feb 3, 2023 · 0 comments
Open

[Bug]: Hello World tutorial fails to publish #119

sanderpick opened this issue Feb 3, 2023 · 0 comments
Labels
category: bug Something isn't working needs-triage This ticket hasn't been triaged yet

Comments

@sanderpick
Copy link

What happened?

I have followed the basic Hello, World! tutorial. The cargo wapm --dry-run step fails with:

Error: Unable to publish "tutorial-01"

Caused by:
    0: Unable to deserialize the [metadata] table
    1: expected one of "wit-bindgen" or "wai-version" to be provided, but not both

My Cargo.toml file:

[package]
name = "tutorial-01"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
wai-bindgen-rust = "0.2.2"

[package.metadata.wapm]
namespace = "sanderpick"
abi = "none"
bindings = { wai-bindgen = "0.1.0", exports = "hello-world.wai" }

Not sure if this is the correct repo to report the issue. I'd guess this is an issue with the tutorial, which links to this repo, not wapm-cli.

Wasmer Pack Version

No response

How were you using wasmer-pack?

WAPM

@sanderpick sanderpick added category: bug Something isn't working needs-triage This ticket hasn't been triaged yet labels Feb 3, 2023
@sanderpick sanderpick changed the title [Bug]: [Bug]: Hello World tutorial fails to publish Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: bug Something isn't working needs-triage This ticket hasn't been triaged yet
Projects
None yet
Development

No branches or pull requests

1 participant