rustwasm / wasm-pack

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

RUN wasm-pack new failed #1435

Open qiaopengjun5162 opened 1 week ago

qiaopengjun5162 commented 1 week ago

🐛 Bug description

RUN wasm-pack new failed

🤔 Expected Behavior

What should have happened?

👟 Steps to reproduce


~/Code/wasm via 🅒 base
➜
wasm-pack new hello_wasm_pack
[INFO]: ⬇️  Installing cargo-generate...
🐑  Generating a new rustwasm project with name 'hello_wasm_pack'...
Error: Please check if the Git user / repository exists.

Caused by:
    unexpected EOF; class=Http (34)
Error: Running cargo-generate
Caused by: Running cargo-generate
Caused by: failed to execute `cargo-generate`: exited with exit status: 1
  full command: "/Users/qiaopengjun/Library/Caches/.wasm-pack/cargo-generate-cc29ecac1ae21b38/cargo-generate" "generate" "--git" "https://github.com/rustwasm/wasm-pack-template" "--name" "hello_wasm_pack"
image

🌍 Your environment

Include the relevant details of your environment. wasm-pack version: 0.13.0 rustc version: rustc 1.81.0 (eeb90cda1 2024-09-04)

image