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

Unable to install via Composer #11

Open
cjsewell opened this issue Sep 25, 2013 · 2 comments
Open

Unable to install via Composer #11

cjsewell opened this issue Sep 25, 2013 · 2 comments

Comments

@cjsewell
Copy link

When adding Browser as a dependency in Composer, I get the following error:

[RuntimeException]
Failed to clone https://github.com/cbschuld/browser.php.git via git, https
protocols, aborting.

It appears that on packagist (https://packagist.org/packages/cbschuld/browser.php) the canonical url https://github.com/cbschuld/browser.php however it is actually https://github.com/cbschuld/Browser.php
(Not the capital B in Browser.php)

Although viewing either via a web browser doesn't seem to matter, it looks like Composer/Git does.

Is this an issue with Browser or is it a Composer or git issue?

My composer.json has
"require": {
"cbschuld/browser.php": "dev-master"
}

Cheers

@nicke
Copy link

nicke commented Oct 7, 2013

this is a case problem. the correct url is:
git://github.com/cbschuld/Browser.php.git

workaround:

{
    "repositories": [
{
    "type" : "vcs",
    "url" : "git@github.com:cbschuld/Browser.php.git"
}
    ],
    "require": {
        "cbschuld/browser.php": "dev-master"
    }
}

@cjsewell
Copy link
Author

cjsewell commented Oct 8, 2013

Excellent, thanks for the workaround.

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