Skip to content

The templates couldn't be downloaded

error: couldn't download the templates from github.com/axle-rs/axle-templates: the repository wasn't found
hint: Check your connection. If you have access to the repository, sign in with gh auth login or set GITHUB_TOKEN.

axle create downloads its templates from the axle-rs/axle-templates repository on GitHub each time it runs, and the download didn’t work. Either GitHub couldn’t be reached, or it answered that the repository isn’t there for you.

Check that you’re online and that github.com isn’t blocked. When GitHub asks for a sign-in, Axle uses the token in GH_TOKEN or GITHUB_TOKEN, or the one the GitHub CLI keeps:

Terminal window
gh auth login

Behind a company proxy, set HTTPS_PROXY to its address.