-
-
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
create astro -- --template
passing non-existent folder arg.
#6275
Comments
create-astro -- --template
passing non-existent folder arg.create astro -- --template
passing non-existent folder arg.
This comment was marked as outdated.
This comment was marked as outdated.
That's a 400, you're hitting #6276 |
Ah I can't read now 🤦♂️, good catch |
Yes. I can still reproduce the question. I read the source code of the upstream repository and it seems to be based on the HTTP code 404 returned by GitHub. But GitHub doesn't return 404 for non-existent directories of the repository. I don't know~ |
This has already been fixed in a more recent version of |
What version of
astro
are you using?0.0.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
Use
npm create astro@latest test-project -- --template empty
passing non-existent folder arg.Show template copied but the project is empty.
Expectation: Throw a 404 error.
This appears to be the result of an upstream repository https://github.com/unjs/giget
Link to Minimal Reproducible Example
None
Participation
The text was updated successfully, but these errors were encountered: