Schema Version Mismatch Error when Using cargo leptos watch
in WSL Ubuntu Environment
#3908
Unanswered
MachoMaheen
asked this question in
Q&A
Replies: 1 comment
-
I'm assuming that updating the While compiling you should see which version is being compiled, you can also look into your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the Bug
When using
cargo leptos watch
command on a Rust project targeting wasm32-unknown-unknown in a WSL Ubuntu environment, a schema version mismatch error occurs between cargo-leptos and wasm-bindgen.Steps to Reproduce
cargo leptos watch
command on a Rust project targeting wasm32-unknown-unknown.Expected Behavior
I expected
cargo leptos watch
to compile the project successfully without any schema version mismatch errors.Actual Behavior
The
cargo leptos watch
command fails with the following error message:Error: at /home/macho/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.16/src/compile/front.rs:47:30
Caused by:
0: at /home/macho/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.16/src/compile/front.rs:122:10
1:
Additionally, the error message suggests trying to update the wasm-bindgen dependency or the wasm-bindgen-cli binary, both of which have been attempted without success.
Additional Context
cargo leptos watch
command on a project targeting wasm32-unknown-unknown.This issue is hindering further development progress, and any assistance or guidance in resolving it would be greatly appreciated.
![Screenshot 2024-04-01 013753](https://private-user-images.githubusercontent.com/99596115/318299341-1d7ce8fd-d73b-4ec8-9f18-dfb6d5cf2bae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjI4MTUsIm5iZiI6MTczOTE2MjUxNSwicGF0aCI6Ii85OTU5NjExNS8zMTgyOTkzNDEtMWQ3Y2U4ZmQtZDczYi00ZWM4LTlmMTgtZGZiNmQ1Y2YyYmFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NDE1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjYWE2YTJmOTg2NjRhNWRmMjY3OWNmYzJkYTBlMzg5ZjdhOTk3YzVhMTlhOWUwYTM4MzEzZTRkNmQxMzU1ODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ER9dKznuB6ZYqDp5vhwmMLbJp8kDTAx6a3Jx52-4ZAQ)
Beta Was this translation helpful? Give feedback.
All reactions