composer-normalize: Installation fails in fresh project (with no other dependencies)
Steps required to reproduce the problem
- Make a fresh project without any dependencies.
- Run
composer require ergebnis/composer-normalize
and wait for it to finish. - See an error message.
Expected Result
Install without errors. Tried on 3 machines and all result in the same issue.
Actual Result
❯ composer require ergebnis/composer-normalize
Using version ^2.10 for ergebnis/composer-normalize
./composer.json has been created
Running composer update ergebnis/composer-normalize
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires ergebnis/composer-normalize ^2.10 -> satisfiable by ergebnis/composer-normalize[2.10.0].
- ergebnis/composer-normalize 2.10.0 requires ergebnis/json-printer ^3.1.1 -> found ergebnis/json-printer[dev-main] but it does not match the constraint.
Installation failed, deleting ./composer.json.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (14 by maintainers)
@localheinz thanks 😉
@localheinz Seems there already is an issue for this: https://github.com/composer/composer/issues/9481
@faustbrian
Running
works fine for me.