hybridinteractive / craft-contact-form-extensions

Adds extensions to the Craft CMS contact form plugin.
MIT License
42 stars 35 forks source link

Composer error when installing #160

Closed jamiematrix closed 1 year ago

jamiematrix commented 1 year ago

Just installed the Contact Form plugin and wanted to install this Extensions plugin too but getting the following error (a colleague gets the same error)

Problem 1
    - illuminate/filesystem v5.2.25 requires symfony/finder 3.1.* -> found symfony/finder[v3.1.0, ..., v3.1.10] but the package is fixed to v5.4.11 (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.
    - illuminate/filesystem[v5.2.0, ..., v5.2.45] require symfony/finder 2.8.*|3.0.* -> found symfony/finder[v2.8.0, ..., v2.8.52, v3.0.0, ..., v3.0.9] but the package is fixed to v5.4.11 (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.
    - illuminate/contracts[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.23] require psr/container ^1.0 -> found psr/container[1.0.0, 1.1.0, 1.1.1, 1.1.2] but the package is fixed to 2.0.2 (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.
    - illuminate/view[v9.0.0, ..., v9.23.0] require php ^8.0.2 -> your php version (7.4; overridden via config.platform, actual: 7.4.29) does not satisfy that requirement.
    - illuminate/support[v5.0.0, ..., v5.1.41] require danielstjules/stringy ~1.8 -> found danielstjules/stringy[1.8.0, 1.8.1, 1.9.0, 1.10.0] but these were not loaded, likely because it conflicts with another require.
    - illuminate/support[v5.3.0, ..., v5.4.36] require paragonie/random_compat ~1.4|~2.0 -> found paragonie/random_compat[v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, ..., v2.0.21] but the package is fixed to v9.99.100 (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.
    - illuminate/support[v5.5.0, ..., v5.6.11] require nesbot/carbon ^1.20 -> found nesbot/carbon[1.20.0, ..., 1.39.1] but the package is fixed to 2.46.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.
    - illuminate/support[v5.5.40, ..., v5.7.1] require nesbot/carbon ^1.24.1 -> found nesbot/carbon[1.24.1, ..., 1.39.1] but the package is fixed to 2.46.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.
    - illuminate/support v5.6.39 requires nesbot/carbon 1.25.* -> found nesbot/carbon[1.25.0, 1.25.1, 1.25.3] but the package is fixed to 2.46.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.
    - illuminate/support[v5.7.2, ..., v5.7.28] require nesbot/carbon ^1.26.3 -> found nesbot/carbon[1.26.3, ..., 1.39.1] but the package is fixed to 2.46.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.
    - albertcht/invisible-recaptcha[v1.8, ..., v1.9.4] require guzzlehttp/guzzle ^6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.8] but the package is fixed to 7.4.5 (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.
    - hybridinteractive/craft-contact-form-extensions[1.3.1, ..., 1.3.2] require composer/composer ^2.2.12 -> found composer/composer[2.2.12, ..., 2.3.10] but the package is fixed to 2.0.10 (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.
    - hybridinteractive/craft-contact-form-extensions 1.3.0 requires albertcht/invisible-recaptcha ^1.8 -> satisfiable by albertcht/invisible-recaptcha[v1.8, ..., v1.9.7].
    - albertcht/invisible-recaptcha[v1.9.5, ..., v1.9.6] require illuminate/view ^5.0|^6.0|^7.0|^8.0 -> satisfiable by illuminate/view[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.23].
    - albertcht/invisible-recaptcha v1.9.7 requires illuminate/view ^5.0|^6.0|^7.0|^8.0|^9.0 -> satisfiable by illuminate/view[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.23, v9.0.0, ..., v9.23.0].
    - illuminate/view[v5.2.0, ..., v5.2.45] require illuminate/filesystem 5.2.* -> satisfiable by illuminate/filesystem[v5.2.0, ..., v5.2.45].
    - illuminate/view[v5.8.0, ..., v5.8.36] require illuminate/contracts 5.8.* -> satisfiable by illuminate/contracts[v5.8.0, ..., v5.8.36].
    - illuminate/view[v6.0.0, ..., v6.20.44] require illuminate/contracts ^6.0 -> satisfiable by illuminate/contracts[v6.0.0, ..., v6.20.44].
    - illuminate/view[v7.0.0, ..., v7.30.6] require illuminate/contracts ^7.0 -> satisfiable by illuminate/contracts[v7.0.0, ..., v7.30.6].
    - illuminate/view[v8.0.0, ..., v8.83.23] require illuminate/contracts ^8.0 -> satisfiable by illuminate/contracts[v8.0.0, ..., v8.83.23].
    - illuminate/view[v5.0.0, ..., v5.0.33] require illuminate/support 5.0.* -> satisfiable by illuminate/support[v5.0.0, ..., v5.0.33].
    - illuminate/view[v5.1.1, ..., v5.1.41] require illuminate/support 5.1.* -> satisfiable by illuminate/support[v5.1.1, ..., v5.1.41].
    - illuminate/view[v5.3.0, ..., v5.3.23] require illuminate/support 5.3.* -> satisfiable by illuminate/support[v5.3.0, v5.3.4, v5.3.16, v5.3.23].
    - illuminate/view[v5.4.0, ..., v5.4.36] require illuminate/support 5.4.* -> satisfiable by illuminate/support[v5.4.0, ..., v5.4.36].
    - illuminate/view[v5.5.0, ..., v5.5.44] require illuminate/support 5.5.* -> satisfiable by illuminate/support[v5.5.0, ..., v5.5.44].
    - illuminate/view[v5.6.0, ..., v5.6.39] require illuminate/support 5.6.* -> satisfiable by illuminate/support[v5.6.0, ..., v5.6.39].
    - illuminate/view[v5.7.0, ..., v5.7.28] require illuminate/support 5.7.* -> satisfiable by illuminate/support[v5.7.0, ..., v5.7.28].
    - Root composer.json requires hybridinteractive/craft-contact-form-extensions ^1.3 -> satisfiable by hybridinteractive/craft-contact-form-extensions[1.3.0, 1.3.1, 1.3.2].

Other closed issues point to a PHP version mismatch in composer.json but that is set to 7.4 which is the same as the site.

composer.json:

{
  "require": {
    "craftcms/cms": "3.6.10",
    "craftcms/contact-form": "^2.5",
    "craftcms/redactor": "^2.8",
    "ether/seo": "^3.6",
    "putyourlightson/craft-sprig": "1.4.0",
    "sebastianlenz/linkfield": "1.0.25",
    "solspace/craft-freeform": "3.10.9",
    "verbb/formie": "1.5.19",
    "verbb/navigation": "1.4.14",
    "verbb/super-table": "^2.6",
    "vlucas/phpdotenv": "^3.4.0",
    "wrav/oembed": "1.3.6"
  },
  "require-dev": {
    "yiisoft/yii2-shell": "^2.0.3"
  },
  "autoload": {
    "psr-4": {
      "modules\\": "modules/"
    }
  },
  "config": {
    "sort-packages": true,
    "optimize-autoloader": true,
    "platform": {
      "php": "7.4"
    },
    "allow-plugins": {
      "yiisoft/yii2-composer": true,
      "craftcms/plugin-installer": true
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ]
  }
}

All other plugins are installed and working. The contact form plugin works and is setup

rosskenney commented 1 year ago

I cannot recreate the issue, but it seems like multiple things above are saying things are locked to wrong versions in the composer lock file. I just installed that same set of packages locally with no issue on php 7.4

➜  craft-test composer i
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 149 installs, 0 updates, 0 removals
  - Locking albertcht/invisible-recaptcha (v1.9.7)
  - Locking cebe/markdown (1.2.1)
  - Locking commerceguys/addressing (v1.3.0)
  - Locking composer/ca-bundle (1.3.3)
  - Locking composer/composer (2.0.10)
  - Locking composer/semver (3.3.2)
  - Locking composer/spdx-licenses (1.5.7)
  - Locking composer/xdebug-handler (1.4.6)
  - Locking craftcms/cms (3.6.10)
  - Locking craftcms/contact-form (2.5.1)
  - Locking craftcms/html-field (1.0.9)
  - Locking craftcms/oauth2-craftid (1.0.0.1)
  - Locking craftcms/plugin-installer (1.5.7)
  - Locking craftcms/redactor (2.10.10)
  - Locking craftcms/server-check (1.2.4)
  - Locking creocoder/yii2-nested-sets (0.9.0)
  - Locking defuse/php-encryption (v2.3.1)
  - Locking doctrine/collections (1.6.8)
  - Locking doctrine/inflector (2.0.4)
  - Locking doctrine/lexer (1.2.3)
  - Locking dompdf/dompdf (v1.2.2)
  - Locking egulias/email-validator (2.1.25)
  - Locking elvanto/litemoji (3.0.1)
  - Locking embed/embed (v3.4.18)
  - Locking enshrined/svg-sanitize (0.14.1)
  - Locking ether/seo (3.7.4)
  - Locking ezyang/htmlpurifier (v4.14.0)
  - Locking fakerphp/faker (v1.20.0)
  - Locking firebase/php-jwt (v6.3.0)
  - Locking giggsey/libphonenumber-for-php (8.12.52)
  - Locking giggsey/locale (2.2)
  - Locking guzzlehttp/guzzle (7.4.5)
  - Locking guzzlehttp/oauth-subscriber (0.6.0)
  - Locking guzzlehttp/promises (1.5.1)
  - Locking guzzlehttp/psr7 (2.4.0)
  - Locking hashids/hashids (4.1.0)
  - Locking html2text/html2text (4.3.1)
  - Locking hybridinteractive/craft-contact-form-extensions (1.3.0)
  - Locking illuminate/bus (v8.83.23)
  - Locking illuminate/collections (v8.83.23)
  - Locking illuminate/container (v8.83.23)
  - Locking illuminate/contracts (v8.83.23)
  - Locking illuminate/events (v8.83.23)
  - Locking illuminate/filesystem (v8.83.23)
  - Locking illuminate/macroable (v8.83.23)
  - Locking illuminate/pipeline (v8.83.23)
  - Locking illuminate/support (v8.80.0)
  - Locking illuminate/view (v8.83.23)
  - Locking ivopetkov/html5-dom-document-php (v2.3.1)
  - Locking justinrainbow/json-schema (5.2.12)
  - Locking laminas/laminas-escaper (2.10.0)
  - Locking laminas/laminas-feed (2.18.1)
  - Locking laminas/laminas-servicemanager (3.16.0)
  - Locking laminas/laminas-stdlib (3.11.0)
  - Locking league/flysystem (1.1.9)
  - Locking league/html-to-markdown (4.10.0)
  - Locking league/mime-type-detection (1.11.0)
  - Locking league/oauth1-client (v1.10.1)
  - Locking league/oauth2-client (2.6.1)
  - Locking league/oauth2-google (3.0.4)
  - Locking maennchen/zipstream-php (2.2.1)
  - Locking markbaker/complex (3.0.1)
  - Locking markbaker/matrix (3.0.0)
  - Locking mikehaertl/php-shellcommand (1.6.4)
  - Locking monolog/monolog (2.8.0)
  - Locking myclabs/php-enum (1.8.3)
  - Locking nesbot/carbon (2.60.0)
  - Locking nikic/php-parser (v4.14.0)
  - Locking paragonie/random_compat (v9.99.100)
  - Locking phenx/php-font-lib (0.5.4)
  - Locking phenx/php-svg-lib (0.4.1)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.3.0)
  - Locking phpdocumentor/type-resolver (1.6.1)
  - Locking phpoffice/phpspreadsheet (1.24.1)
  - Locking phpoption/phpoption (1.9.0)
  - Locking pixelandtonic/imagine (1.2.4.2)
  - Locking psr/cache (1.0.1)
  - Locking psr/container (1.1.2)
  - Locking psr/http-client (1.0.1)
  - Locking psr/http-factory (1.0.1)
  - Locking psr/http-message (1.0.1)
  - Locking psr/log (1.1.4)
  - Locking psr/simple-cache (1.0.1)
  - Locking psy/psysh (v0.10.12)
  - Locking putyourlightson/craft-sprig (1.4.0)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking react/promise (v2.9.0)
  - Locking sabberworm/php-css-parser (8.4.0)
  - Locking sebastianlenz/linkfield (1.0.25)
  - Locking seld/cli-prompt (1.0.4)
  - Locking seld/jsonlint (1.9.0)
  - Locking seld/phar-utils (1.2.0)
  - Locking solspace/craft-freeform (3.10.9)
  - Locking solspace/craft3-commons (1.0.25)
  - Locking stripe/stripe-php (v7.128.0)
  - Locking swiftmailer/swiftmailer (v6.3.0)
  - Locking symfony/cache (v5.4.11)
  - Locking symfony/cache-contracts (v2.5.2)
  - Locking symfony/console (v5.4.11)
  - Locking symfony/deprecation-contracts (v2.5.2)
  - Locking symfony/expression-language (v5.4.11)
  - Locking symfony/filesystem (v5.4.11)
  - Locking symfony/finder (v5.4.11)
  - Locking symfony/polyfill-ctype (v1.26.0)
  - Locking symfony/polyfill-iconv (v1.26.0)
  - Locking symfony/polyfill-intl-grapheme (v1.26.0)
  - Locking symfony/polyfill-intl-idn (v1.26.0)
  - Locking symfony/polyfill-intl-normalizer (v1.26.0)
  - Locking symfony/polyfill-mbstring (v1.26.0)
  - Locking symfony/polyfill-php72 (v1.26.0)
  - Locking symfony/polyfill-php73 (v1.26.0)
  - Locking symfony/polyfill-php80 (v1.26.0)
  - Locking symfony/process (v5.4.11)
  - Locking symfony/property-access (v5.4.11)
  - Locking symfony/property-info (v5.4.11)
  - Locking symfony/service-contracts (v2.5.2)
  - Locking symfony/string (v5.4.11)
  - Locking symfony/translation (v5.4.11)
  - Locking symfony/translation-contracts (v2.5.2)
  - Locking symfony/var-dumper (v5.4.11)
  - Locking symfony/var-exporter (v5.4.10)
  - Locking symfony/yaml (v5.4.11)
  - Locking thenetworg/oauth2-azure (v2.1.1)
  - Locking true/punycode (v2.1.1)
  - Locking twig/twig (v2.14.13)
  - Locking verbb/base (1.0.4)
  - Locking verbb/formie (1.5.19)
  - Locking verbb/navigation (1.4.14)
  - Locking verbb/super-table (2.6.8)
  - Locking vlucas/phpdotenv (v3.6.10)
  - Locking voku/anti-xss (4.1.34)
  - Locking voku/arrayy (7.9.3)
  - Locking voku/email-check (3.1.0)
  - Locking voku/portable-ascii (1.5.6)
  - Locking voku/portable-utf8 (5.4.51)
  - Locking voku/stop-words (2.0.1)
  - Locking voku/stringy (6.4.1)
  - Locking voku/urlify (5.0.5)
  - Locking webmozart/assert (1.11.0)
  - Locking webonyx/graphql-php (v14.4.1)
  - Locking wrav/oembed (1.3.6)
  - Locking yii2tech/ar-softdelete (1.0.4)
  - Locking yiisoft/yii2 (2.0.41.1)
  - Locking yiisoft/yii2-composer (2.0.10)
  - Locking yiisoft/yii2-debug (2.1.19)
  - Locking yiisoft/yii2-queue (2.3.4)
  - Locking yiisoft/yii2-shell (2.0.4)
  - Locking yiisoft/yii2-swiftmailer (2.1.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 149 installs, 0 updates, 0 removals
  - Downloading doctrine/inflector (2.0.4)
  - Downloading illuminate/macroable (v8.83.23)
  - Downloading illuminate/collections (v8.83.23)
  - Downloading illuminate/support (v8.80.0)
  - Downloading illuminate/filesystem (v8.83.23)
  - Downloading illuminate/pipeline (v8.83.23)
  - Downloading illuminate/bus (v8.83.23)
  - Downloading illuminate/events (v8.83.23)
  - Downloading illuminate/view (v8.83.23)
  - Downloading albertcht/invisible-recaptcha (v1.9.7)
  - Downloading hybridinteractive/craft-contact-form-extensions (1.3.0)
  - Installing craftcms/plugin-installer (1.5.7): Extracting archive
  - Installing yiisoft/yii2-composer (2.0.10): Extracting archive
  - Installing cebe/markdown (1.2.1): Extracting archive
  - Installing symfony/polyfill-php80 (v1.26.0): Extracting archive
  - Installing symfony/process (v5.4.11): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
  - Installing symfony/finder (v5.4.11): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.26.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.26.0): Extracting archive
  - Installing symfony/filesystem (v5.4.11): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.26.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.26.0): Extracting archive
  - Installing symfony/string (v5.4.11): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing symfony/service-contracts (v2.5.2): Extracting archive
  - Installing symfony/polyfill-php73 (v1.26.0): Extracting archive
  - Installing symfony/console (v5.4.11): Extracting archive
  - Installing seld/phar-utils (1.2.0): Extracting archive
  - Installing seld/jsonlint (1.9.0): Extracting archive
  - Installing react/promise (v2.9.0): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing justinrainbow/json-schema (5.2.12): Extracting archive
  - Installing composer/xdebug-handler (1.4.6): Extracting archive
  - Installing composer/spdx-licenses (1.5.7): Extracting archive
  - Installing composer/semver (3.3.2): Extracting archive
  - Installing composer/ca-bundle (1.3.3): Extracting archive
  - Installing composer/composer (2.0.10): Extracting archive
  - Installing paragonie/random_compat (v9.99.100): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing psr/http-client (1.0.1): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-factory (1.0.1): Extracting archive
  - Installing guzzlehttp/psr7 (2.4.0): Extracting archive
  - Installing guzzlehttp/promises (1.5.1): Extracting archive
  - Installing guzzlehttp/guzzle (7.4.5): Extracting archive
  - Installing league/oauth2-client (2.6.1): Extracting archive
  - Installing craftcms/oauth2-craftid (1.0.0.1): Extracting archive
  - Installing ezyang/htmlpurifier (v4.14.0): Extracting archive
  - Installing craftcms/cms (3.6.10): Extracting archive
  - Installing yiisoft/yii2 (2.0.41.1): Extracting archive
  - Installing symfony/polyfill-php72 (v1.26.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.26.0): Extracting archive
  - Installing symfony/polyfill-iconv (v1.26.0): Extracting archive
  - Installing doctrine/lexer (1.2.3): Extracting archive
  - Installing egulias/email-validator (2.1.25): Extracting archive
  - Installing swiftmailer/swiftmailer (v6.3.0): Extracting archive
  - Installing yiisoft/yii2-swiftmailer (2.1.3): Extracting archive
  - Installing yiisoft/yii2-queue (2.3.4): Extracting archive
  - Installing yiisoft/yii2-debug (2.1.19): Extracting archive
  - Installing yii2tech/ar-softdelete (1.0.4): Extracting archive
  - Installing webonyx/graphql-php (v14.4.1): Extracting archive
  - Installing voku/stop-words (2.0.1): Extracting archive
  - Installing voku/portable-ascii (1.5.6): Extracting archive
  - Installing voku/portable-utf8 (5.4.51): Extracting archive
  - Installing voku/urlify (5.0.5): Extracting archive
  - Installing voku/email-check (3.1.0): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing phpdocumentor/type-resolver (1.6.1): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
  - Installing voku/arrayy (7.9.3): Extracting archive
  - Installing voku/anti-xss (4.1.34): Extracting archive
  - Installing defuse/php-encryption (v2.3.1): Extracting archive
  - Installing voku/stringy (6.4.1): Extracting archive
  - Installing twig/twig (v2.14.13): Extracting archive
  - Installing true/punycode (v2.1.1): Extracting archive
  - Installing symfony/yaml (v5.4.11): Extracting archive
  - Installing seld/cli-prompt (1.0.4): Extracting archive
  - Installing pixelandtonic/imagine (1.2.4.2): Extracting archive
  - Installing mikehaertl/php-shellcommand (1.6.4): Extracting archive
  - Installing league/mime-type-detection (1.11.0): Extracting archive
  - Installing league/flysystem (1.1.9): Extracting archive
  - Installing laminas/laminas-stdlib (3.11.0): Extracting archive
  - Installing laminas/laminas-servicemanager (3.16.0): Extracting archive
  - Installing laminas/laminas-escaper (2.10.0): Extracting archive
  - Installing laminas/laminas-feed (2.18.1): Extracting archive
  - Installing enshrined/svg-sanitize (0.14.1): Extracting archive
  - Installing elvanto/litemoji (3.0.1): Extracting archive
  - Installing creocoder/yii2-nested-sets (0.9.0): Extracting archive
  - Installing craftcms/server-check (1.2.4): Extracting archive
  - Installing craftcms/html-field (1.0.9): Extracting archive
  - Installing craftcms/redactor (2.10.10): Extracting archive
  - Installing doctrine/collections (1.6.8): Extracting archive
  - Installing doctrine/inflector (2.0.4): Extracting archive
  - Installing ether/seo (3.7.4): Extracting archive
  - Installing firebase/php-jwt (v6.3.0): Extracting archive
  - Installing giggsey/locale (2.2): Extracting archive
  - Installing craftcms/contact-form (2.5.1): Extracting archive
  - Installing symfony/translation-contracts (v2.5.2): Extracting archive
  - Installing symfony/translation (v5.4.11): Extracting archive
  - Installing nesbot/carbon (2.60.0): Extracting archive
  - Installing illuminate/macroable (v8.83.23): Extracting archive
  - Installing psr/simple-cache (1.0.1): Extracting archive
  - Installing illuminate/contracts (v8.83.23): Extracting archive
  - Installing illuminate/collections (v8.83.23): Extracting archive
  - Installing illuminate/support (v8.80.0): Extracting archive
  - Installing illuminate/filesystem (v8.83.23): Extracting archive
  - Installing illuminate/container (v8.83.23): Extracting archive
  - Installing illuminate/pipeline (v8.83.23): Extracting archive
  - Installing illuminate/bus (v8.83.23): Extracting archive
  - Installing illuminate/events (v8.83.23): Extracting archive
  - Installing illuminate/view (v8.83.23): Extracting archive
  - Installing albertcht/invisible-recaptcha (v1.9.7): Extracting archive
  - Installing hybridinteractive/craft-contact-form-extensions (1.3.0): Extracting archive
  - Installing myclabs/php-enum (1.8.3): Extracting archive
  - Installing maennchen/zipstream-php (2.2.1): Extracting archive
  - Installing markbaker/complex (3.0.1): Extracting archive
  - Installing markbaker/matrix (3.0.0): Extracting archive
  - Installing nikic/php-parser (v4.14.0): Extracting archive
  - Installing phenx/php-font-lib (0.5.4): Extracting archive
  - Installing sabberworm/php-css-parser (8.4.0): Extracting archive
  - Installing phenx/php-svg-lib (0.4.1): Extracting archive
  - Installing ivopetkov/html5-dom-document-php (v2.3.1): Extracting archive
  - Installing putyourlightson/craft-sprig (1.4.0): Extracting archive
  - Installing sebastianlenz/linkfield (1.0.25): Extracting archive
  - Installing symfony/property-info (v5.4.11): Extracting archive
  - Installing symfony/property-access (v5.4.11): Extracting archive
  - Installing stripe/stripe-php (v7.128.0): Extracting archive
  - Installing monolog/monolog (2.8.0): Extracting archive
  - Installing solspace/craft3-commons (1.0.25): Extracting archive
  - Installing phpoffice/phpspreadsheet (1.24.1): Extracting archive
  - Installing hashids/hashids (4.1.0): Extracting archive
  - Installing solspace/craft-freeform (3.10.9): Extracting archive
  - Installing symfony/var-exporter (v5.4.10): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing symfony/cache-contracts (v2.5.2): Extracting archive
  - Installing symfony/cache (v5.4.11): Extracting archive
  - Installing verbb/base (1.0.4): Extracting archive
  - Installing thenetworg/oauth2-azure (v2.1.1): Extracting archive
  - Installing symfony/expression-language (v5.4.11): Extracting archive
  - Installing league/oauth2-google (3.0.4): Extracting archive
  - Installing league/oauth1-client (v1.10.1): Extracting archive
  - Installing league/html-to-markdown (4.10.0): Extracting archive
  - Installing html2text/html2text (4.3.1): Extracting archive
  - Installing guzzlehttp/oauth-subscriber (0.6.0): Extracting archive
  - Installing giggsey/libphonenumber-for-php (8.12.52): Extracting archive
  - Installing fakerphp/faker (v1.20.0): Extracting archive
  - Installing dompdf/dompdf (v1.2.2): Extracting archive
  - Installing commerceguys/addressing (v1.3.0): Extracting archive
  - Installing verbb/formie (1.5.19): Extracting archive
  - Installing verbb/navigation (1.4.14): Extracting archive
  - Installing verbb/super-table (2.6.8): Extracting archive
  - Installing phpoption/phpoption (1.9.0): Extracting archive
  - Installing vlucas/phpdotenv (v3.6.10): Extracting archive
  - Installing embed/embed (v3.4.18): Extracting archive
  - Installing wrav/oembed (1.3.6): Extracting archive
  - Installing symfony/var-dumper (v5.4.11): Extracting archive
  - Installing psy/psysh (v0.10.12): Extracting archive
  - Installing yiisoft/yii2-shell (2.0.4): Extracting archive
59 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package yii2tech/ar-softdelete is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
71 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
➜  craft-test composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package yii2tech/ar-softdelete is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
71 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
➜  craft-test php -v
PHP 7.4.30 (cli) (built: Jun  9 2022 09:20:03) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies

composer.json

{
  "require": {
    "craftcms/cms": "3.6.10",
    "craftcms/contact-form": "^2.5",
    "craftcms/redactor": "^2.8",
    "ether/seo": "^3.6",
    "hybridinteractive/craft-contact-form-extensions": "^1.3",
    "putyourlightson/craft-sprig": "1.4.0",
    "sebastianlenz/linkfield": "1.0.25",
    "solspace/craft-freeform": "3.10.9",
    "verbb/formie": "1.5.19",
    "verbb/navigation": "1.4.14",
    "verbb/super-table": "^2.6",
    "vlucas/phpdotenv": "^3.4.0",
    "wrav/oembed": "1.3.6"
  },
  "require-dev": {
    "yiisoft/yii2-shell": "^2.0.3"
  },
  "autoload": {
    "psr-4": {
      "modules\\": "modules/"
    }
  },
  "config": {
    "sort-packages": true,
    "optimize-autoloader": true,
    "platform": {
      "php": "7.4"
    },
    "allow-plugins": {
      "yiisoft/yii2-composer": true,
      "craftcms/plugin-installer": true
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ]
  }
}
rosskenney commented 1 year ago

Looks like maybe the guzzle and composer from other packages? I know we have bumped guzzle a few times in this plugin to the latest due to dependabot.

rosskenney commented 1 year ago

In short, try deleting the lock file

jamiematrix commented 1 year ago

I forgot to mention I had tried deleting the lock file and vendor folder - no joy.

I had just updated Formie, but my colleague has the older version and gets the same error.

Looking at the lock file, one line has Craft itself requiring the composer version that’s being complained about.

jamiematrix commented 1 year ago

Thought I'd try from within Craft instead of the CLI and got this error:

Composer output: Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires craftcms/cms 3.6.10 -> satisfiable by craftcms/cms[3.6.10].
- hybridinteractive/craft-contact-form-extensions 1.3.2 requires composer/composer ^2.2.12 -> satisfiable by composer/composer[2.2.12, ..., 2.3.10].
- You can only install one version of a package, so only one of these can be installed: composer/composer[2.0.10, ..., 2.3.10].
- craftcms/cms 3.6.10 requires composer/composer 2.0.10 -> satisfiable by composer/composer[2.0.10].
- Root composer.json requires hybridinteractive/craft-contact-form-extensions 1.3.2 -> satisfiable by hybridinteractive/craft-contact-form-extensions[1.3.2].

Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
jamiematrix commented 1 year ago

Must be an issue with our setups. I took a brave pill and installed via CLI on the live site. Plugins installed fine. I've copied the composer files to my setup and ran composer install and all went well

rosskenney commented 1 year ago

Glad it worked out. Yeah I couldn't recreate the issues locally so not sure what the issue was.