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

Can't load mustangostang/spyc via composer #85

Open
tiefenb opened this issue Mar 30, 2020 · 2 comments
Open

Can't load mustangostang/spyc via composer #85

tiefenb opened this issue Mar 30, 2020 · 2 comments

Comments

@tiefenb
Copy link

tiefenb commented Mar 30, 2020

  • Installing mustangostang/spyc (0.6.3): Cloning 4627c83

    [RuntimeException]
    Failed to execute git clone --no-checkout '[email protected]:mustangostang/spyc.git' '/var/www/html/vendor/mustangostang/spyc' && cd '/var/www/html/vendor/mustangostang/spyc' && git remote add composer '[email protected]:mustangostang/spyc.git' && git fetch composer && git remote set-url origin '[email protected]:mustangostang/spyc.git' && git remote set-url composer '[email protected]:mustangostang/spyc.git'

    Cloning into '/var/www/html/vendor/mustangostang/spyc'...
    [email protected]: Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

@diogolast
Copy link

I had the same problem when I build my project on gitlab CI, my workaround was to change my composer.lock. I remove "url": "[email protected]:mustangostang/spyc.git" and put "url": "https://github.com/mustangostang/spyc.git"

The problem comes back using composer update

@tiefenb
Copy link
Author

tiefenb commented Apr 2, 2020

Bildschirmfoto 2020-04-02 um 12 32 11

@diogolast this is also a quick fix in your composer.json, which works with composer update

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

2 participants