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

Problem with cakephp/chronos #823

Closed
sojeda opened this issue Apr 13, 2020 · 5 comments
Closed

Problem with cakephp/chronos #823

sojeda opened this issue Apr 13, 2020 · 5 comments

Comments

@sojeda
Copy link
Contributor

sojeda commented Apr 13, 2020

  • Horizon Version: ^4.0
  • Laravel Version: 7.5.2
  • PHP Version: 7.4
  • Redis Driver & Version: predis/phpredis #.#.#
  • Database Driver & Version:

Description:

I use "cakephp/chronos": "^2.0" on my project. When i try to install horizon:

  • laravel/horizon 4.x-dev requires cakephp/chronos ^1.0 -> satisfiable by cakephp/chronos[1.3.0, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7,
    1.2.8, 1.x-dev].

Steps To Reproduce:

composer require cakephp/chronos

composer require laravel/horizon

@driesvints
Copy link
Member

I'll mark this as an enhancement since nothing is really broken here.

@mfn
Copy link
Contributor

mfn commented Apr 13, 2020

Would be awesome if Horizon wouldn't depend on Chronos when Laravel itself already depends on Carbon 😄

@mfn
Copy link
Contributor

mfn commented Apr 13, 2020

Wooo! #826

@Octet83
Copy link

Octet83 commented Apr 15, 2020

I'm trying to install Horizon but I've an issue related to cakephp/chronos. I do not use it anywhere but when I try to install Horizon with composer I get the following error :

Problem 1
- Conclusion: don't install laravel/horizon v4.3.0
- Conclusion: remove cakephp/chronos 1.3.0
- Installation request for laravel/horizon ^4.3 -> satisfiable by laravel/horizon[4.x-dev, v4.3.0].
- Conclusion: don't install cakephp/chronos 1.3.0
- laravel/horizon 4.x-dev requires cakephp/chronos ^2.0 -> satisfiable by cakephp/chronos[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- Can only install one of: cakephp/chronos[2.0.0, 1.3.0].
- Can only install one of: cakephp/chronos[2.0.1, 1.3.0].
- Can only install one of: cakephp/chronos[2.0.2, 1.3.0].
- Can only install one of: cakephp/chronos[2.0.3, 1.3.0].
- Installation request for cakephp/chronos (locked at 1.3.0) -> satisfiable by cakephp/chronos[1.3.0].

@driesvints
Copy link
Member

@Octet83 try composer update --with-dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants