Questions tagged [degit]
6 questions
1
vote
0 answers
DegitError "could not parse"
We have a private Gitlab service and project templates on our Gitlab.
My workflow is that I create an empty projet on our Gitlab, then clone it on my computer and then I need to upload one of our template to begin the project.
I want to do the same…

Sabgramar
- 101
- 5
1
vote
0 answers
npx degit could not find commit hash for HEAD
npx degit sveltejs/template hello-world
! could not fetch remote https://github.com/sveltejs/template
! could not find commit hash for HEAD
.
Can Somebody help me to fix this?

Chandan
- 11
- 2
1
vote
5 answers
npx degit could not find commit hash for master
On my Ubuntu 18.04 machine I'm following a tutorial to start a svelte project but I can not authenticate using degit:
$ npx degit sveltesj/template ninjapolls
Username for 'https://github.com': myname
Password for 'https://myname@github.com': mypw
!…

supermario
- 2,625
- 4
- 38
- 58
0
votes
0 answers
Is GitHub's dependency graph user customizable?
I use degit to pull data partially from a monorepo. As the repo is not described in package.json it doesn't show up in dependency graph. Is there any technique to show it up, like customizing graph manually? I need it for managing my repos.

Takuya HARA
- 499
- 1
- 3
- 17
0
votes
1 answer
degit running error: ENOENT: no such file or directory, scandir '~/.degit'
I'm using Deepin v20.8, a Debian-based distribution. I try to install degit an npm package.
I first install node.js. It is in /usr/bin/node and npm is in /usr/bin/npm
I then run sudo npm install -g degit, it is installed in /usr/bin/degit
Then I…

sicheng mao
- 33
- 6
0
votes
1 answer
! could not find commit hash for master error when using npx in Google Colab
I'm running the following code on Google Colab:
!npx degit cironis/ep4 -f
and I'm getting this error message:
npx: installed 1 in 0.975s
> destination directory is not empty. Using --force, continuing
! could not find commit hash for master
I have…

user3347814
- 1,138
- 9
- 28
- 50