Rich-Harris/degit

ERROR: could not download { GITLAB TAR URL} when fetching repo from gitlab

Slyracoon23 opened this issue · 2 comments

This is my command that I typed into terminal

$ npx degit git@gitlab.com:ionic-react-course/hello-world.git hello-world

! could not download https://gitlab.com/ionic-react-course/hello-world/repository/archive.tar.gz?ref=d133d476024c928008e81fe27e5c0257bfb8c010

Apparently, there is an issue with fetching gitlab repos using degit.
If you go to the repo(https://gitlab.com/ionic-react-course/hello-world) on your browser, you can download any tar file by clicking the download button for your any repo version e.g. I am downloading a random history of this repo https://gitlab.com/ionic-react-course/hello-world/-/archive/8c62ec71f6eb4f4b9b2af05f32783876b6b00534/hello-world-8c62ec71f6eb4f4b9b2af05f32783876b6b00534.tar.gz

The problem seems to be that gitlab has changed their tar file archive url.

Hopefully someone can reproduce the issue

I have the same issue, tried what ducva did adding -m=git parameter

image

after writing 'yes'...

image

Hope it helps.

Same problem here on Windows, cannot download from Gitlab. Any suggestions? Or schould we use tiged?