hybridinteractive / craft-contact-form-extensions

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

Error installing for Craft 4 #159

Closed boboldehampsink closed 1 year ago

boboldehampsink commented 1 year ago

When installing 4.0.0-beta.3 for Craft 4 it fails with the following error:

Problem 1
    - Root composer.json requires hybridinteractive/craft-contact-form-extensions ^4.0.0-beta.3 -> satisfiable by hybridinteractive/craft-contact-form-extensions[4.0.0-beta.3].
    - hybridinteractive/craft-contact-form-extensions 4.0.0-beta.3 requires craftcms/contact-form ^3.0.0 -> satisfiable by craftcms/contact-form[3.0.0].
    - craftcms/contact-form 3.0.0 requires craftcms/cms ^4.0.0-beta.1 -> satisfiable by craftcms/cms[4.0.0, ..., 4.1.4.1].
    - craftcms/cms[4.0.0, ..., 4.1.4.1] require illuminate/collections ^9.1.0 -> satisfiable by illuminate/collections[v9.1.0, ..., v9.20.0].
    - Conclusion: don't install illuminate/collections v9.20.0 (conflict analysis result)
rosskenney commented 1 year ago

I will take a look at this. Could you provide a copy of your composer.json. Thanks!

boboldehampsink commented 1 year ago
{
    "name": "robuust/test",
    "description": "Test",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/boboldehampsink/commerce"
        },
        {
            "type": "vcs",
            "url": "https://github.com/boboldehampsink/craft-contact-form-tuner"
        },
        {
            "type": "vcs",
            "url": "https://github.com/boboldehampsink/craft-hirefire"
        }
    ],
    "require": {
        "php": "8.1.8",
        "ext-gd": "*",
        "ext-intl": "*",
        "ext-redis": "*",
        "craftcms/aws-s3": "^2.0",
        "craftcms/cms": "^4.0",
        "craftcms/commerce": "dev-patch-3 as 4.0.5",
        "craftcms/commerce-paypal-checkout": "^2.1",
        "craftcms/contact-form": "^3.0",
        "craftcms/redactor": "^3.0",
        "diginov/craft-sentry-logger": "^4.0",
        "doublesecretagency/craft-siteswitcher": "^2.3",
        "ether/seo": "^4.0",
        "hybridinteractive/craft-contact-form-extensions": "^4.0.0-beta.3",
        "miranj/craft-contact-form-tuner": "dev-master as 2.0.0",
        "nerds-and-company/craft-hirefire": "dev-patch-1 as 1.0.4",
        "putyourlightson/craft-snaptcha": "^4.0",
        "robuust/craft-commerce-coinbase": "^2.0",
        "robuust/craft-commerce-skrill": "^2.0",
        "robuust/craft-heroku-internal": "^2.0",
        "robuust/craft-mailjet": "^1.0",
        "sebastianlenz/linkfield": "^2.1.3-rc",
        "spicyweb/craft-neo": "^3.0",
        "yiisoft/yii2-redis": "^2.0"
    },
    "require-dev": {
        "codeception/codeception": "^4.0",
        "codeception/module-asserts": "^2.0",
        "codeception/module-webdriver": "^2.0",
        "codeception/module-yii2": "^1.0",
        "friendsofphp/php-cs-fixer": "^3.2",
        "heroku/heroku-buildpack-php": "*"
    },
    "autoload": {
        "psr-4": {
            "modules\\": "modules/",
            "fixtures\\": "fixtures/"
        }
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true,
        "allow-plugins": {
            "yiisoft/yii2-composer": true,
            "craftcms/plugin-installer": true
        }
    }
}
rosskenney commented 1 year ago

Thanks, I'll have a look today at it

boboldehampsink commented 1 year ago

Thanks!

rosskenney commented 1 year ago

@boboldehampsink So far I can verify it has to do with the require-dev items. Specifically

"codeception/codeception": "^4.0",
"codeception/module-asserts": "^2.0",
"codeception/module-webdriver": "^2.0",
"codeception/module-yii2": "^1.0",

If removed everything installs just fine. I will dig a bit further to see why this is.

boboldehampsink commented 1 year ago

Thanks! I fixed it by upgrading Codeception to 5.0 beta...

rosskenney commented 1 year ago

That's good news, thanks!