You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to add the crate Skedgy (https://crates.io/crates/skedgy) do my Dioxus project, but I am getting the error below,
[cargo] error: the wasm*-unknown-unknown targets are not supported by default, you may need to enable the "js" feature. For more information see: https://docs.rs/getrandom/#webassembl --> /home/usernmae/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/src/lib.rs:346:9
|
346 | / compile_error!("the wasm*-unknown-unknown targets are not supported by \
347 | | default, you may need to enable the \"js\" feature. \
348 | | For more information see: \
349 | | https://docs.rs/getrandom/#webassembly-support");
| |________________________________________________________________________^
but I seem to be unable to add the feature "js" using cargo add getrandom@0.2.17 --features js - does anyone have an idea how to solve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I have been trying to add the crate Skedgy (https://crates.io/crates/skedgy) do my Dioxus project, but I am getting the error below,
but I seem to be unable to add the feature "js" using
cargo add getrandom@0.2.17 --features js- does anyone have an idea how to solve this?All reactions