Closed
Description
With rust nightly, I'm getting one of these two errors:
error: import of `__wbg_cargowebsnippetc26ddf75f581148e029dfcd95c037bb50d502e43_f494f4a63cf92998` doesn't have an adapter listed
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 1
error: import of `__wbg_cargowebsnippetc26ddf75f581148e029dfcd95c037bb50d502e43_f494f4a63cf92998` doesn't have an import map item listed
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 1
I'm building with wasm-pack build --target web
.
$ cargo install-update --list
Package Installed Latest Needs update
wasm-bindgen-cli v0.2.56 v0.2.56 No
wasm-pack v0.8.1 v0.8.1 No
rustup default nightly
nightly-x86_64-apple-darwin unchanged - rustc 1.42.0-nightly (9b98af84c 2019-12-22)
It is working fine on rust stable.