Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

error when try install private projectwith composer

eladgasner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 14, 2019

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.```

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2019

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

eladgasner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2019

Thanks for your response.
In the end, I updated my git version.
And it works!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events