I try to install a private project with composer.
In my computer I success, but in another computer with same config I get an error:
```[RuntimeException]
Failed to execute git clone --no-checkout "C:/Users//AppData/Local/Composer/vcs/https---******-bitbucket.org-******-******.git/" "C:\wamp64\www\******" --dissociate --reference "C:/Users//AppData/Local/Composer/vcs
/https---******-bitbucket.org-a******-******.git/" && cd /D "C:\wamp64\www\******" && git remote set-url ori
gin "https://******@bitbucket.org/******/******.git" && git remote add composer "https://******@bitbucket.org/******/******.git"
Cloning into 'C:\wamp64\www\******'...
"git-upload-pack 'C:/Users/******/AppData/Local/Composer/vcs/https---******-bitbucket.org-******-******.git/'
": git-upload-pack 'C:/Users/******/AppData/Local/Composer/vcs/https---******-bitbucket.org-ami-hanya-laravel.git
/': No such file or directory
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.```
Hi Elad, welcome to the Community!
Sounds like this could be a problem with the authentication, or a problem with composer.
In the new computer, do you have the right credentials to access that repository? Can you try a simple action in the command line directly (like a pull for example) and see if it works?
If it does, then the problem comes from the Composer side. In that case, my recommendation is to contact the creator, as this is a third party product and we don't have the means to troubleshoot it. You can find more info at https://github.com/composer/composer.
Hope that helps!
Ana
Thanks for your response.
In the end, I updated my git version.
And it works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.