-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing from a template not working #12453
Comments
Hmm, it seems like maybe the one in my example and the others I tried aren't valid templates? Do templates need to be verified before they can be listed on https://astro.build/themes/? |
Oh I think I might understand now - the repos that fail use branch name
I wonder if that should be documented or handled automatically by the |
I believe the default branch of each template should be resolved automatically. Marking this as a bug, thank you @dowski for finding the issue! |
cc @bluwy |
The default branch code in |
Fixed at bluwy/giget-core@98a8a47. It should work now. |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
If I try to run
npm create astro@latest
with a template, it fails:I've tried a couple templates and have got the same result.
What's the expected result?
Creating from a template works, as described in the docs:
https://docs.astro.build/en/install-and-setup/#use-a-theme-or-starter-template
Link to Minimal Reproducible Example
npm create astro@latest -- --template mickasmt/astro-nomy
Participation
The text was updated successfully, but these errors were encountered: