Failed to download template 404
Closed this issue · 5 comments
amiruddinid commented
amiruddinid commented
I think its related to this PR : #93
Alkaidcc commented
same issue
nlaitchison commented
Same issue too
pi0 commented
Sorry for late check on this. It will be solved in next release thanks to PR (#93) by @ishanjain28 ❤️
Note: You need to provide --auth
or GIGET_AUTH
env with token.
letoast commented
@pi0 I also get 404 on anything I try
➜ projects npx gitget@latest gh:unjs/template
⠕ Starting: gitget
⠕ User: gh:unjs
⠕ Repo: template
⠕ StatusCode: 404
⨯ Not Found
➜ projects npx gitget@latest gh:unjs/template/test
⠕ Starting: gitget
⠕ User: gh:unjs
⠕ Repo: template
⠕ Subdir: test
⠕ StatusCode: 404
⨯ Not Found
Using an URL however works, but only for public repos:
➜ projects npx gitget@latest https://github.com/unjs/template
⠕ Starting: gitget
⠕ User: unjs
⠕ Repo: template
⠕ StatusCode: 200
⠕ Default Branch: main
⠕ Tag/Branch/Commit: main
⠕ Downloading: https://github.com/unjs/template/archive/main.tar.gz
⠕ StatusCode: 302
⠕ StatusCode: 200
⠕ Clean: remove tmp files
√ Done! Your repo is in /template.
➜ projects npx gitget@latest https://github.com/letoast/nuxt-image-gallery --auth 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
⠕ Starting: gitget
⠕ User: letoast
⠕ Repo: nuxt-image-gallery
⠕ StatusCode: 404
⨯ Not Found