-
Notifications
You must be signed in to change notification settings - Fork 48
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
Cloing project templates sometimes fails with an unhelpful error message #31
Comments
Per conversation on 7/26/2021: |
Actually, instead, try clearing contents of |
I ended up using It works well. I'm down to use gittar to work around this issue. Its syntax will end up slightly cleaner & looks like we'll be able to set it up for offline usage. |
Fixed. Switched to gittar. |
System: M1 MacBook Air
Running the create project command gives me:
Some research indicates that this likely a problem with
degit
which is used to fetch project templates:Rich-Harris/degit#37
Note that
git
is installed and available on PATH on this machine. Per the suggestion in the issue linked above, settingcache: false
in degit options does seem to fix this issue in a pinch. However, that might not be a good long-term solution.Others suggest that the XCode Command Line Utilities might need to be installed on Mac for this work. This machine actually does not have those installed, so I will try that soon and see if it works with
cache: true
. If so, we could make this part of the installation instructions.Alternatively, we could look into other methods of fetching project templates (gittar is one that apparently has similar functionality but doesn't depend on git).
The text was updated successfully, but these errors were encountered: