TheBevyFlock / bevy_new_2d

This template is a great way to get started on a new 2D Bevy game!
https://the-bevy-flock.itch.io/bevy-new-2d
MIT License
186 stars 30 forks source link

Favorite `TheBevyFlock/bevy_quickstart` not found in config #313

Open JimLynchCodes opened 1 month ago

JimLynchCodes commented 1 month ago

Hi, I just tried following along with the video here: https://www.youtube.com/watch?v=ESBRyXClaYc

I installed cargo binstall, but then when I run the command from the video, cargo generate TheBevyFlock/bevy_quickstart --branch cargo-generate

I get this error mesage:

⚠️   Favorite `TheBevyFlock/bevy_quickstart` not found in config, using it as a git repository: https://github.com/TheBevyFlock/bevy_quickstart.git
Error: Please check if the Git user / repository exists.

Caused by:
    reference 'refs/remotes/origin/cargo-generate' not found; class=Reference (4); code=NotFound (-3)

Am I doing something wrong here? Some issue with the repo / generator template? 🤔

benfrankel commented 1 month ago

The current command is cargo generate thebevyflock/bevy_new_2d.

The video is a little outdated at this point. Still a good resource, but I'd recommend reviewing the up-to-date README and docs while watching it. We should probably mention this in the README.

For this particular error, it's because we've merged the cargo-generate branch into main, and renamed bevy_quickstart -> bevy_new_2d in anticipation of the upcoming bevy_cli which will allow you to create a new bevy project from a template by running (something like) bevy new 2d or bevy new --template 2d.