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

Error running ssvmup build --target deno on macOS and Linux #4

Open
mr-beerkiss opened this issue Apr 13, 2021 · 1 comment
Open

Error running ssvmup build --target deno on macOS and Linux #4

mr-beerkiss opened this issue Apr 13, 2021 · 1 comment

Comments

@mr-beerkiss
Copy link

Hi,

I stumbled across your blog post about how to run WebAssembley and Deno. I've checked out the source locally, but when I run ssvmup build --target deno I get the following error:

[INFO]: ⬇️  Installing wasm-bindgen...
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `4`,
 right: `1`', crates/cli-support/src/js/binding.rs:215:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 101
  full command: "/Users/darren/Library/Caches/.ssvmup/wasm-bindgen-17832de66412ed8c/wasm-bindgen" "--out-dir" "ssvm/ssvm-deno-starter/pkg" "--no-typescript" "--target" "deno" "ssvm/ssvm-deno-starter/target/wasm32-wasi/release/functions_lib.wasm"

I've tried running with RUST_BACKTRACE=1 and RUST_BACKTRACE=full but the output wasn't very illumniating, and I'm too much of a rust n00b to even know where to start tring to debug this.

I got the same error on macOS Big Sur and Xubuntu.

@myisaak
Copy link

myisaak commented Aug 31, 2021

Try running from the .devcontainer/Dockerfile docker file. If you have VSCode just open the project as a container and work from there, it's much simpler setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants