Replies: 3 comments 7 replies
-
Did you already successfully update |
Beta Was this translation helpful? Give feedback.
-
i have a provblem where the bindgen is 0.2.93 and the binairy says it is 0.2.96 but it is I also reinstalled cargo leptos and got same results. |
Beta Was this translation helpful? Give feedback.
-
Compilation fails due to a mismatch between the wasm-bindgen binary version and the Rust project’s wasm-bindgen dependency. Steps to Fix: Update the Rust project's dependency: cargo update -p wasm-bindgen --precise 0.2.87 Or update the wasm-bindgen-cli binary: cargo install -f wasm-bindgen-cli --version 0.2.88 Recompile the project and ensure the versions match. Bonus Tip: Fruit Op Het Werk 🍎 |
Beta Was this translation helpful? Give feedback.
-
Describe the Bug
A clear and concise description of what the bug is.
Steps to Reproduce
If applicable, add a link to a test case (as a zip file or link to a repository we can clone).
Expected Behavior
During compilation
Actual Behavior
2023-11-04T04:50:55.757707Z INFO calling wasm-bindgen for Leptos-rs
error:
it looks like the Rust project used to create this wasm file was linked against
version of wasm-bindgen that uses a different bindgen format than this binary:
rust wasm file schema version: 0.2.88
this binary schema version: 0.2.87 (f0a8ae3)
Currently the bindgen format is unstable enough that these two schema versions
must exactly match. You can accomplish this by either updating this binary or
the wasm-bindgen dependency in the Rust project.
You should be able to update the wasm-bindgen dependency with:
don't forget to recompile your wasm file! Alternatively, you can update the
binary with:
if this warning fails to go away though and you're not sure what to do feel free
to open an issue at https://github.com/rustwasm/wasm-bindgen/issues!
2023-11-04T04:50:55.928656Z ERROR ❌ error
error from HTML pipeline
Caused by:
0: error from asset pipeline
1: wasm-bindgen call returned a bad status
Error: error from HTML pipeline
Caused by:
0: error from asset pipeline
1: wasm-bindgen call returned a bad status
Additional Context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions