FriendsOfFlarum / upload

The file upload extension with insane intelligence for your Flarum forum.
https://discuss.flarum.org/d/4154
MIT License
177 stars 96 forks source link

guzzlehttp/guzzle version conflict #239

Closed mpolanski closed 3 years ago

mpolanski commented 3 years ago

Hey,

looks like the Guzzle library has a version conflict. I tried to install the upload extension on a fresh instance of Flarum.

$ composer require fof/upload
Using version ^0.10.0 for fof/upload
./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
    - Installation request for fof/upload ^0.10.0 -> satisfiable by fof/upload[0.10.0].
    - Conclusion: remove guzzlehttp/guzzle 7.0.1
    - Conclusion: don't install guzzlehttp/guzzle 7.0.1
    - fof/upload 0.10.0 requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5].
    - Can only install one of: guzzlehttp/guzzle[6.0.0, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.0.1, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.0.2, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.1.0, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.1.1, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.2.0, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.2.1, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.2.2, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.2.3, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.3.0, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.3.1, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.3.2, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.3.3, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.4.0, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.4.1, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.5.0, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.5.1, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.5.2, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.5.3, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.5.4, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.5.5, 7.0.1].
    - Installation request for guzzlehttp/guzzle (locked at 7.0.1) -> satisfiable by guzzlehttp/guzzle[7.0.1].

Installation failed, reverting ./composer.json to its original content.
clarkwinkelmann commented 3 years ago

Thanks for your message. You can follow the following steps to fix the issue https://discuss.flarum.org/d/24684-can-only-install-one-of-guzzlehttpguzzle

mpolanski commented 3 years ago

Thanks for the quick reply!