Unable to cargo install cargo-generate
pranavdesai-cdcx opened this issue · comments
pranavdesai-cdcx commented
Describe the bug
unable to install cargo-generate, need help
make sure you
- I'm on the latest rust version
rustup update
- I'm on the latest cargo-generate version
cargo install cargo-generate
- In case you have an own
.gitconfig
, provide all sections that contains one of:insteadOf
,url
To Reproduce
Steps to reproduce the behavior:
cargo install cargo-generate
error : Caused by:
[56] Failure when receiving data from the peer (Recv failure: Connection reset by peer)
Screenshots
Desktop (please complete the following information):
- OS: [macOs]
- Version: [14.13.1]
- Shell: [zsh]
rustc --version
: rustc 1.76.0 (07dca489a 2024-02-04)
Additional context
Sven Kanoldt commented
I guess the upcoming version will fix it.
Meanwhile you can give an installation via cargo install --locked cargo-generate
a try.
Sven Kanoldt commented
Seems like a duplicate to #1118