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

Error on install "Argument 4 passed to Composer\Repository\VcsRepository::__construct()" #2448

Closed
ChristianRiesen opened this issue Nov 22, 2013 · 3 comments

Comments

@ChristianRiesen
Copy link
Contributor

Just did a self update, then tried install. Version and error below. Previous version works just fine.

Composer version 1ee30ea 2013-11-22 08:27:27

[ErrorException]
Argument 4 passed to Composer\Repository\VcsRepository::__construct() must be of the type array, object given, called in phar:///vagrant/bin/composer.phar/src/Composer/Repository/Reposi
toryManager.php on line 104 and defined

@ChristianRiesen
Copy link
Contributor Author

Maybe a problem with the repositories part in the composer.json. Here the relevant bit:

    "repositories": [
        {
            "type": "vcs",
            "url": "git@git.something.net:something/something1.git"
        },
        {
            "type": "vcs",
            "url": "https://github.com/something/something2.git"
        }
    ],

@Seldaek
Copy link
Member

Seldaek commented Nov 22, 2013

Bad merge caused this, it's now been fixed. self-update again.

@Seldaek Seldaek closed this as completed Nov 22, 2013
@ChristianRiesen
Copy link
Contributor Author

Confirmed, fixed it, thanks.

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