itsgoingd / clockwork

Clockwork - php dev tools in your browser - server-side component
https://underground.works/clockwork
MIT License
5.7k stars 320 forks source link

Initial install fails with psr/log 1.* requirement #562

Closed aidanthewiz closed 2 years ago

aidanthewiz commented 2 years ago

When I try to install clockwork to a fresh install of Laravel 8/9, I receive this error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - itsgoingd/clockwork[v5.1.0-beta0, ..., v5.1.0] require psr/log 1.* -> found psr/log[1.0.0, ..., 1.1.4] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - itsgoingd/clockwork[v5.1.1, ..., v5.x-dev] require psr/log 1.* || ^2.0 -> found psr/log[1.0.0, ..., 1.1.4, 2.0.0] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires itsgoingd/clockwork ^5.1 -> satisfiable by itsgoingd/clockwork[v5.1.0-beta0, ..., v5.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require itsgoingd/clockwork:*" to figure out if any version is installable, or "composer require itsgoingd/clockwork:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Deleting composer.lock and installing fresh works as intended, but is there any plan on moving to psr/log 3?

For reference, the recent versions of Laravel use "psr/log": "^1.0|^2.0|^3.0", for their version string.