composer/composer — Issue #177: Assertion failed in Solver.php
Author: arnaud-lb
Created: 2011-12-30 21:20:22+00:00
State: open

I'm getting the following errors when running `composer install`:

```
Installing dependencies.
PHP Warning: assert(): Assertion failed in src/Composer/DependencyResolver/Solver.php on line 1484

Warning: assert(): Assertion failed in src/Composer/DependencyResolver/Solver.php on line 1484
PHP Notice: Undefined offset: -1 in src/Composer/DependencyResolver/Solver.php on line 1487

Notice: Undefined offset: -1 in src/Composer/DependencyResolver/Solver.php on line 1487
PHP Fatal error: Call to a member function getPackageId() on a non-object in src/Composer/DependencyResolver/Solver.php on line 1489

Fatal error: Call to a member function getPackageId() on a non-object in src/Composer/DependencyResolver/Solver.php on line 148
```

Here is the minimal composer.json triggering this:

```
{
"require": {
"doctrine/orm": "*"
}
}
```