Skip to content
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

Cannot clone the template with npx #3

Open
doshin2021 opened this issue Dec 6, 2024 · 1 comment
Open

Cannot clone the template with npx #3

doshin2021 opened this issue Dec 6, 2024 · 1 comment

Comments

@doshin2021
Copy link

Hi,

This
npx degit neoeno/toy-c-project-template
throws this error:
! could not fetch remote https://github.com/neoeno/toy-c-project-template
! could not find commit hash for HEAD

Do you know why?
Thanks.

PS:
OS: Windows

However, it worked with:
git clone https://github.com/neoeno/toy-c-project-template.git

@doshin2021 doshin2021 changed the title Cannot clone the template! Cannot clone the template with npx Dec 6, 2024
@neoeno
Copy link
Owner

neoeno commented Dec 23, 2024

That is unusual — maybe a portability issue with degit. I think I might find an alternative to using degit as it is feeling a little shaky at the moment. Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants