-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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.
cargo install wasm-pack
and the version ofwasm-pack
is0.8.1
cargo install cargo-generate
and cargo-generate version is0.4.0
npm
version is6.10.3
cargo generate --git https://github.com/rustwasm/wasm-pack-template
- Type name as
wasm-game-of-life
cd wasm-game-of-life
wasm-pack build
- 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
Labels
bugSomething isn't workingSomething isn't working