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

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

Open
Slyracoon23 opened this issue Apr 13, 2021 · 2 comments

Comments

@Slyracoon23
Copy link

This is my command that I typed into terminal

$ npx degit [email protected]: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

@Quantme
Copy link

Quantme commented May 5, 2021

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

image

after writing 'yes'...

image

Hope it helps.

@djusHa
Copy link

djusHa commented Jun 25, 2021

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

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

3 participants