-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
🐛 BUG: npm init astro fails - "could not find commit hash for HEAD" #746
Comments
do you have git installed? |
If I'm not wrong, |
It is my understanding that it does. I could be wrong, was reading through this issue |
Wack. I honestly would have thought there was something like |
I think it uses the Github API and not git. In either case, this is out of scope for us and a problem in degit (that may be related to your machine). Sorry about that! In that case, you can clone (or download as a tarball) the example yourself from Github. |
Co-authored-by: Marvin Ahlborn <[email protected]>
What package manager are you using?
npm
What operating system are you using?
Windows
Describe the Bug
could not find commit hash for HEAD
npm ERR! code 1
npm ERR! path C:\laragon\www\Portfolio
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-astro
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Local\npm-cache_logs\2021-07-19T00_34_19_517Z-debug.log
Steps to Reproduce
npm init astro
Portfolio
but i've already tested all the remaining options)> Copying project files...
!Link to Minimal Reproducible Example (Optional)
No response
The text was updated successfully, but these errors were encountered: