ignition icon indicating copy to clipboard operation
ignition copied to clipboard

Degiterror: could not find commit hash for HEAD

Open westcoastdigital opened this issue 5 years ago • 4 comments

Any idea why npx command isnt working?

westcoastdigital avatar Apr 08 '21 02:04 westcoastdigital

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

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

saltnpixels avatar Apr 08 '21 13:04 saltnpixels

NPM 6.14.12 Node 14.16.1

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

westcoastdigital avatar Apr 12 '21 01:04 westcoastdigital

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",

amasoudnia avatar Feb 25 '23 21:02 amasoudnia

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

MuzamilHassan110 avatar Jan 09 '24 11:01 MuzamilHassan110