It's proabably a missing definition in your Cargo.toml file. you may need to add
Cargo.toml
[dependencies] wasm-bindgen = "0.2" wasm-bindgen-rayon = "=1.3.0"