Errors when working with OAuth

thread 'main' panicked at 'cannot call wasm-bindgen imported functions on non-wasm targets', /home/karthik/.cargo/registry/src/index.crates.io-6f17d22bba15001f/js-sys-0.3.61/src/lib.rs:5750:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

are you running your code in browser? you cannot run a wasm crate as native program.

1 Like