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

Degiterror: could not find commit hash for HEAD #24

Open
westcoastdigital opened this issue Apr 8, 2021 · 4 comments
Open

Degiterror: could not find commit hash for HEAD #24

westcoastdigital opened this issue Apr 8, 2021 · 4 comments

Comments

@westcoastdigital
Copy link

Any idea why npx command isnt working?

@saltnpixels
Copy link
Owner

hmmm? I'm not sure why it isn't working for you.

What version of npm are you using. Also what version of node?

@westcoastdigital
Copy link
Author

NPM 6.14.12
Node 14.16.1

It works when I do a git clone, npm install and npm setup

@amasoudnia
Copy link

It might be because the default branch on the targeted repository provider is changed so:
1- First clear the npm cache by: npm cache clean --force
2- Upgrade digit to the latest version: npm install -g degit@latest
If none of the above helps check if your git is the latest version or check if you have missed placing it in the environment variable "path",

@MuzamilHassan110
Copy link

It might be because the default branch on the targeted repository provider is changed so:
1- First clear the npm cache by: npm cache clean --force
2- Upgrade digit to the latest version: npm install -g degit@latest
If none of the above helps check if your git is the latest version or check if you have missed placing it in the environment variable "path"
i do all of these setups but still same error is occuring

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

4 participants