cargo-generate / cargo-generate

cargo, make me a project

Home Page:https://cargo-generate.github.io/cargo-generate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to cargo install cargo-generate

pranavdesai-cdcx opened this issue · comments

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:

  1. cargo install cargo-generate

error : Caused by:
[56] Failure when receiving data from the peer (Recv failure: Connection reset by peer)

Screenshots
image
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

I guess the upcoming version will fix it.

Meanwhile you can give an installation via cargo install --locked cargo-generate a try.

Seems like a duplicate to #1118