-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
--clone flag doesn't work with private hosted repo #1029
Comments
Same happens for version
|
@affanshahid same here, is there any solution for this problem? |
i get it done finally after i check out the repo ‘download-git-repo’ . it has listed the solutions. |
@yyx990803 The issue is also present for |
3.x init is just a bridge to 2.x code. |
@yyx990803 I don't mean
Please see my initial comment above with the error I'm getting |
@andreasvirkus ah got it, I've updated the description. |
Fixed by #1880 |
With 3.0.2 I'm still having an issue with getting this to work. This is the command I'm using with a privately hosted bitbucket server at stash.myserver.com: Returns with an error of:
Here is a second failed test, as I'm not 100% certain about the command syntax. In this case it just sits forever with no error:
I've also tried various iterations of the git path, but always have one of the two same issues. For reference, the git clone URL looks like this. Note the specified port in the ssh url - not sure if that matters: |
I'm also getting the status 128 message when trying to clone down a private GitHub repo that I've made for a custom Vue preset. |
I am also seeing this issue with vue-cli version 3.2.1. Furthermore I have published my preset in a private npm registry with a scope and running |
Any progress, please? |
@guirreri @austriker27 @bodograumann @JimmyLv My command looked like @guirreri According to https://github.com/flipxfx/download-git-repo you need to use ":" after the hostname and before the username. @bodograumann If you're still having trouble, I'd recommend you to create a new, fresh empty folder, install |
@Kendaros Additionally, my tests show the following:
@yyx990803, do you think you can add a note on self-hosted repos to the docs? |
ok, i'm back here again.... whatever. it does work for me since i found the direct command a few mounth ago |
Version
2.9.3
Reproduction link
https://github.com/vuejs/vue-cli/tree/master
Steps to reproduce
Please forgive the invalid repro link, not sure what to put for a cli issue
My template repo is within a subgroup, I'm running the following:
vue init --clone my-project gitlab:my-own-gitlab.com:group-a/subgroup-a/template-repo
What is expected?
Template should be initialized from:
my-own-gitlab.com/group-a/subgroup-a/template-repo
What is actually happening?
vue-cli · Failed to download repo ... 'git clone' failed with status 128
The text was updated successfully, but these errors were encountered: