GrahamCampbell/Laravel-Flysystem

Installation error

basebuild opened this issue · 2 comments

I get the following error:

composer require graham-campbell/flysystem
Using version ^5.0 for graham-campbell/flysystem
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install graham-campbell/flysystem v5.0.0
    - Conclusion: remove illuminate/cache v5.4.36
    - Installation request for graham-campbell/flysystem ^5.0 -> satisfiable by graham-campbell/flysystem[5.0.x-dev, v5.0.0].
    - Conclusion: don't install illuminate/cache v5.4.36
    - graham-campbell/flysystem 5.0.x-dev requires illuminate/cache 5.5.*|5.6.* -> satisfiable by illuminate/cache[5.5.x-dev, 5.6.x-dev, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
    - Can only install one of: illuminate/cache[5.5.x-dev, v5.4.36].
    - Can only install one of: illuminate/cache[5.6.x-dev, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.0, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.16, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.17, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.2, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.28, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.33, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.34, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.35, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.36, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.37, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.39, v5.4.36].
    - Can only install one of: illuminate/cache[v5.5.40, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.0, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.1, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.10, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.11, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.12, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.13, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.14, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.15, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.16, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.17, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.19, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.2, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.20, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.21, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.22, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.23, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.24, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.25, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.3, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.4, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.5, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.6, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.7, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.8, v5.4.36].
    - Can only install one of: illuminate/cache[v5.6.9, v5.4.36].
    - Installation request for illuminate/cache (locked at v5.4.36) -> satisfiable by illuminate/cache[v5.4.36].

I'm using Lumen.

Looks like you are using Lumen 5.4, and thus need version 4.x of this package, not 5.x.

composer require graham-campbell/flysystem ^4.0