Skip to content

Hanged on Installing wasm-bindgen #44

@t1anchen

Description

@t1anchen

Describe the Bug

The installation hangs around Installing wasm-bindgen.

$ wasm-pack build
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
    Updating crates.io index
   Compiling proc-macro2 v1.0.0
   Compiling unicode-xid v0.2.0
   Compiling wasm-bindgen-shared v0.2.49
   Compiling log v0.4.8
   Compiling syn v1.0.1
   Compiling cfg-if v0.1.9
   Compiling bumpalo v2.5.0
   Compiling lazy_static v1.3.0
   Compiling wasm-bindgen v0.2.49
   Compiling quote v1.0.0
   Compiling wasm-bindgen-backend v0.2.49
   Compiling wasm-bindgen-macro-support v0.2.49
   Compiling wasm-bindgen-macro v0.2.49
   Compiling console_error_panic_hook v0.1.6
   Compiling wasm-game-of-life v0.1.0 (/Users/xxx/projects/wasm-game-of-life)
warning: function is never used: `set_panic_hook`
 --> src/utils.rs:1:1
  |
1 | pub fn set_panic_hook() {
  | ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(dead_code)] on by default

    Finished release [optimized] target(s) in 54.57s
[INFO]: ⬇️  Installing wasm-bindgen...

Steps to Reproduce

Follow the Setup directives of Rust and WebAssembly book to install the dependencies.

  1. cargo install wasm-pack and the version of wasm-pack is 0.8.1
  2. cargo install cargo-generate and cargo-generate version is 0.4.0
  3. npm version is 6.10.3
  4. cargo generate --git https://github.com/rustwasm/wasm-pack-template
  5. Type name as wasm-game-of-life
  6. cd wasm-game-of-life
  7. wasm-pack build
  8. It hanged around Installing wasm-bindgen

I check the version of wasm-bindgen, which is 0.2.49.

Expected Behavior

It should be accomplished in a short time insteald of hanging there.

Actual Behavior

The installation hangs around Installing wasm-bindgen.

Additional Context

Additional question: Is this project alive and under maintainance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions