-
Notifications
You must be signed in to change notification settings - Fork 75
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 compiling due to wasm-bindgen version #13
Comments
I had a similar issue, switching the to wasm version 0.2.89 in the |
Hi @darrenkim247,
The strange thing is that the futures module is present in the cargo.toml file. Any ideas? |
You might have to remove the 'optional' tag from the futures module present in Cargo.toml. Afterwards, remove "futures" as a dependency in csr, hydrate, or ssr |
The targets should have unique names. For more information about this error, try I get this error, so how I can fix it :_( |
I got rid of this error by removing the |
Hi,
first of all nice work. I was wondering if you could lend me a hand, since I am experiencing and issue when trying to compile using cargo leptos watch. The error is the following:
Finished dev [unoptimized + debuginfo] target(s) in 44.24s Cargo finished cargo build --package=rusty_llama --lib --target-dir=/home/albert/Desktop/llama-rust/target/front --target=wasm32-unknown-unknown --no-default-features --features=hydrate Front compiling WASM Error: at
/home/albert/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.17/src/compile/front.rs:47:30`Caused by:
0: at
/home/albert/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.17/src/compile/front.rs:122:10
1:
I have tried with both options, using
cargo update -p wasm-bindgen --precise 0.2.92
andcargo install -f wasm-bindgen-cli --version 0.2.89
, but it doesn't seem to work. Any ideas?Thank you very much
The text was updated successfully, but these errors were encountered: