rustwasm / wasm-pack

📦✨ your favorite rust -> wasm workflow tool!
https://rustwasm.github.io/wasm-pack/
Apache License 2.0
6.32k stars 409 forks source link

[Bug] wasm-pack can not find cargo-generate installed by cargo #1433

Open kands-code opened 2 months ago

kands-code commented 2 months ago

🐛 Bug description

wasm-pack can not find cargo-generate installed by cargo

🤔 Expected Behavior

wasm-pack initialize my project successfully and without any errors

👟 Steps to reproduce

  1. install Rust by rustup, I use rust-nightly
  2. add wasm target, rustup target add wasm32-unknown-unknown
  3. install wasm-pack and cargo-generate, cargo install cargo-generate wasm-pack --all-features
  4. initialize project, wasm-pack new anyprojectname --mode no-install

image

🌍 Your environment

wasm-pack version: 0.13.0 rustc version: 1.83.0-nightly (8d6b88b16 2024-09-11) OS: macOS 15 arm64 and archlinux x86-64

kands-code commented 2 weeks ago

Is anyone really solving issues?