Skip to content

rust nightly errors with doesn't have an adapter listed #1929

Closed
@ctaggart

Description

@ctaggart

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions