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

Beta 14 install fail due to outdated dependencies #243

Closed jaredwolff closed 3 years ago

jaredwolff commented 3 years ago

I'm having some trouble installing due to some dependency issues. Here's the output

root@flarum:/var/www/community.jaredwolff.com # composer require guzzlehttp/guzzle:^6.0
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downgrading guzzlehttp/guzzle (7.2.0 => 6.5.5): Downloading (100%)         
Writing lock file
Generating autoload files
61 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
root@flarum:/var/www/community.jaredwolff.com # composer require fof/upload
Using version ^0.11.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.11.0 -> satisfiable by fof/upload[0.11].
    - Conclusion: remove paragonie/random_compat v9.99.100
    - Conclusion: don't install paragonie/random_compat v9.99.100
    - fof/upload 0.11 requires ramsey/uuid ^3.5.2 -> satisfiable by ramsey/uuid[3.5.2, 3.6.0, 3.6.1, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.8.0, 3.9.0, 3.9.1, 3.9.2, 3.9.3].
    - ramsey/uuid 3.5.2 requires paragonie/random_compat ^1.0|^2.0 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - ramsey/uuid 3.6.0 requires paragonie/random_compat ^1.0|^2.0 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - ramsey/uuid 3.6.1 requires paragonie/random_compat ^1.0|^2.0 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - ramsey/uuid 3.7.0 requires paragonie/random_compat ^1.0|^2.0 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - ramsey/uuid 3.7.1 requires paragonie/random_compat ^1.0|^2.0 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - ramsey/uuid 3.7.2 requires paragonie/random_compat ^1.0|^2.0 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - ramsey/uuid 3.7.3 requires paragonie/random_compat ^1.0|^2.0 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - ramsey/uuid 3.8.0 requires paragonie/random_compat ^1.0|^2.0|9.99.99 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9, v9.99.99].
    - ramsey/uuid 3.9.0 requires paragonie/random_compat ^1 | ^2 | 9.99.99 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9, v9.99.99].
    - ramsey/uuid 3.9.1 requires paragonie/random_compat ^1 | ^2 | 9.99.99 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9, v9.99.99].
    - ramsey/uuid 3.9.2 requires paragonie/random_compat ^1 | ^2 | 9.99.99 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9, v9.99.99].
    - ramsey/uuid 3.9.3 requires paragonie/random_compat ^1 | ^2 | 9.99.99 -> satisfiable by paragonie/random_compat[1.0.10, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, v1.0.0, v1.0.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9, v9.99.99].
    - Can only install one of: paragonie/random_compat[1.0.10, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.2, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.3, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.4, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.5, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.6, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.7, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.8, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.0.9, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.1.0, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.1.1, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.1.2, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.1.3, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.1.4, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.1.5, v9.99.100].
    - Can only install one of: paragonie/random_compat[1.1.6, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.0.0, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.0.1, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.2.0, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.2.1, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.2.2, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.2.3, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.3.0, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.3.1, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.4.0, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.4.1, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.4.2, v9.99.100].
    - Can only install one of: paragonie/random_compat[v1.4.3, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.0, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.1, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.10, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.11, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.12, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.13, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.14, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.15, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.16, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.17, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.18, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.19, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.2, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.3, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.4, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.5, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.6, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.7, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.8, v9.99.100].
    - Can only install one of: paragonie/random_compat[v2.0.9, v9.99.100].
    - Can only install one of: paragonie/random_compat[v9.99.99, v9.99.100].
    - Installation request for paragonie/random_compat (locked at v9.99.100) -> satisfiable by paragonie/random_compat[v9.99.100].

I did find this discussion which helped some. Maybe it would be a benefit to update to the latest guzzle to hack around the issue? (I realize easier said than done 😇)

clarkwinkelmann commented 3 years ago

Can you share the output of composer why paragonie/random_compat ?

There might be another extension requiring a different version of that package. Or maybe it was added to composer.json by mistake.

jaredwolff commented 3 years ago

Hey @clarkwinkelmann

Here you are

# composer why paragonie/random_compat 
league/oauth2-client    2.5.0    requires  paragonie/random_compat (^1|^2|^9.99)      
symfony/polyfill-php70  v1.18.1  requires  paragonie/random_compat (~1.0|~2.0|~9.99)  

Here's composer.json

{
    "name": "flarum/flarum",
    "description": "Delightfully simple forum software.",
    "type": "project",
    "keywords": [
        "forum",
        "discussion"
    ],
    "homepage": "https://flarum.org/",
    "license": "MIT",
    "authors": [
        {
            "name": "Franz Liedke",
            "email": "franz@develophp.org"
        },
        {
            "name": "Daniel Klabbers",
            "email": "daniel@klabbers.email",
            "homepage": "https://luceos.com"
        },
        {
            "name": "David Sevilla Martin",
            "email": "me+flarum@datitisev.me",
            "homepage": "https://datitisev.me"
        },
        {
            "name": "Clark Winkelmann",
            "email": "clark.winkelmann@gmail.com",
            "homepage": "https://clarkwinkelmann.com"
        },
        {
            "name": "Matthew Kilgore",
            "email": "matthew@kilgore.dev"
        }
    ],
    "support": {
        "issues": "https://github.com/flarum/core/issues",
        "source": "https://github.com/flarum/flarum",
        "docs": "https://flarum.org/docs/"
    },
    "require": {
        "alexanderomara/flarum-gravatar": "^1.1",
        "flarum/approval": "^0.1.0",
        "flarum/bbcode": "^0.1.0",
        "flarum/core": "^0.1.0",
        "flarum/emoji": "^0.1.0",
        "flarum/flags": "^0.1.0",
        "flarum/lang-english": "^0.1.0",
        "flarum/likes": "^0.1.0",
        "flarum/lock": "^0.1.0",
        "flarum/markdown": "^0.1.0",
        "flarum/mentions": "^0.1.0",
        "flarum/pusher": "^0.1.0",
        "flarum/statistics": "^0.1.0",
        "flarum/sticky": "^0.1.0",
        "flarum/subscriptions": "^0.1.0",
        "flarum/suspend": "^0.1.0",
        "flarum/tags": "^0.1.0",
        "fof/best-answer": "^0.2.0",
        "fof/follow-tags": "^0.5.0",
        "fof/formatting": "^0.2.0",
        "fof/links": "^0.4.0",
        "fof/nightmode": "^0.6.0",
        "fof/oauth": "^0.1.0",
        "guzzlehttp/guzzle": "^6.0",
        "v17development/flarum-seo": "^1.4"
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true
    },
    "minimum-stability": "beta",
    "prefer-stable": true
}
luceos commented 3 years ago

Can you post the output of php flarum info and php vendor/composer/platform_check.php?

jaredwolff commented 3 years ago
# php flarum info
Flarum core 0.1.0-beta.14
PHP version: 7.4.11
Loaded extensions: Core, date, libxml, pcre, hash, Reflection, SPL, session, standard, mysqlnd, ctype, curl, dom, fileinfo, filter, gd, intl, json, mbstring, openssl, PDO, Phar, tokenizer, zip, pdo_mysql
+-------------------------+----------------+--------+
| Flarum Extensions       |                |        |
+-------------------------+----------------+--------+
| ID                      | Version        | Commit |
+-------------------------+----------------+--------+
| flarum-approval         | v0.1.0-beta.14 |        |
| flarum-bbcode           | v0.1.0-beta.12 |        |
| flarum-emoji            | v0.1.0-beta.14 |        |
| flarum-lang-english     | v0.1.0-beta.14 |        |
| flarum-flags            | v0.1.0-beta.14 |        |
| flarum-likes            | v0.1.0-beta.14 |        |
| flarum-lock             | v0.1.0-beta.14 |        |
| flarum-markdown         | v0.1.0-beta.14 |        |
| flarum-mentions         | v0.1.0-beta.14 |        |
| flarum-statistics       | v0.1.0-beta.14 |        |
| flarum-sticky           | v0.1.0-beta.14 |        |
| flarum-subscriptions    | v0.1.0-beta.14 |        |
| flarum-suspend          | v0.1.0-beta.14 |        |
| flarum-tags             | v0.1.0-beta.14 |        |
| fof-oauth               | 0.1.0          |        |
| alexanderomara-gravatar | 1.1.2          |        |
| fof-formatting          | 0.2.0          |        |
| fof-best-answer         | 0.2.0          |        |
| fof-follow-tags         | 0.5.0          |        |
| fof-links               | 0.4.0          |        |
| fof-nightmode           | 0.6.0          |        |
+-------------------------+----------------+--------+
Base URL: https://community.jaredwolff.com
Installation path: /var/www/community.jaredwolff.com
Debug mode: off
jaredwolff commented 3 years ago
php vendor/composer/
ClassLoader.php          autoload_classmap.php    autoload_namespaces.php  autoload_real.php        installed.json           
LICENSE                  autoload_files.php       autoload_psr4.php        autoload_static.php    

It doesn't look like I have a platform_check.php

luceos commented 3 years ago
{
    "name": "flarum/flarum",
    "description": "Delightfully simple forum software.",
    "type": "project",
    "keywords": [
        "forum",
        "discussion"
    ],
    "homepage": "https://flarum.org/",
    "license": "MIT",
    "authors": [
        {
            "name": "Franz Liedke",
            "email": "franz@develophp.org"
        },
        {
            "name": "Daniel Klabbers",
            "email": "daniel@klabbers.email",
            "homepage": "https://luceos.com"
        },
        {
            "name": "David Sevilla Martin",
            "email": "me+flarum@datitisev.me",
            "homepage": "https://datitisev.me"
        },
        {
            "name": "Clark Winkelmann",
            "email": "clark.winkelmann@gmail.com",
            "homepage": "https://clarkwinkelmann.com"
        },
        {
            "name": "Matthew Kilgore",
            "email": "matthew@kilgore.dev"
        }
    ],
    "support": {
        "issues": "https://github.com/flarum/core/issues",
        "source": "https://github.com/flarum/flarum",
        "docs": "https://flarum.org/docs/"
    },
    "require": {
        "alexanderomara/flarum-gravatar": "*",
        "flarum/approval": "*",
        "flarum/bbcode": "*",
        "flarum/core": "^0.1.0",
        "flarum/emoji": "*",
        "flarum/flags": "*",
        "flarum/lang-english": "*",
        "flarum/likes": "*",
        "flarum/lock": "*",
        "flarum/markdown": "*",
        "flarum/mentions": "*",
        "flarum/pusher": "*",
        "flarum/statistics": "*",
        "flarum/sticky": "*",
        "flarum/subscriptions": "*",
        "flarum/suspend": "*",
        "flarum/tags": "*",
        "fof/best-answer": "*",
        "fof/follow-tags": "*",
        "fof/formatting": "*",
        "fof/links": "*",
        "fof/nightmode": "*",
        "fof/oauth": "*",
        "v17development/flarum-seo": "*"
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true
    },
    "minimum-stability": "beta",
    "prefer-stable": true
}

Try running composer update -W with this.

jaredwolff commented 3 years ago

Hmm looks like I may have an out of date version of composer?

composer update -W

  [Symfony\Component\Console\Exception\RuntimeException]  
  The "-W" option does not exist.                         

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...

I updated composer with:

> composer self-update --2

Then I was able to run

> composer require fof/upload -W
Using version ^0.11.0 for fof/upload
./composer.json has been updated
Running composer update fof/upload --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 3 installs, 2 updates, 1 removal
  - Removing psr/http-client (1.0.1)
  - Locking fof/upload (0.11)
  - Downgrading guzzlehttp/guzzle (7.2.0 => 6.5.5)
  - Downgrading paragonie/random_compat (v9.99.100 => v9.99.99)
  - Locking ramsey/uuid (3.9.3)
  - Locking softcreatr/php-mime-detector (3.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 2 updates, 1 removal
  - Downloading paragonie/random_compat (v9.99.99)
  - Downloading softcreatr/php-mime-detector (3.0.0)
  - Downloading ramsey/uuid (3.9.3)
  - Downloading fof/upload (0.11)
  - Removing psr/http-client (1.0.1)
  - Downgrading paragonie/random_compat (v9.99.100 => v9.99.99): Extracting archive
  - Downgrading guzzlehttp/guzzle (7.2.0 => 6.5.5): Extracting archive
  - Installing softcreatr/php-mime-detector (3.0.0): Extracting archive
  - Installing ramsey/uuid (3.9.3): Extracting archive
  - Installing fof/upload (0.11): Extracting archive
8 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
62 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Which appears to have fixed the install issue.

Screen Shot 2020-11-12 at 1 50 56 PM

Theres no menu though. I'll create a new ticket for that.

jaredwolff commented 3 years ago

Thanks @luceos and @clarkwinkelmann for the help!