πŸ‡ΊπŸ‡ΈUnited States @lvthunder

Account created on 16 July 2005, over 19 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States lvthunder

I set the minimum-stability to dev and still get this when trying to install in a brand new Drupal 11 site.

lvthunder@Stephen-SLS:~/ncc$ ddev composer require 'drupal/calendar:^1.0@beta'
./composer.json has been updated
Running composer update drupal/calendar
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/calendar ^1.0@beta -> satisfiable by drupal/calendar[1.0.0-beta1, 1.0.0-beta2].
    - drupal/calendar[1.0.0-beta1, ..., 1.0.0-beta2] require drupal/core ^9.4 || ^10 -> found drupal/core[9.4.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.4.x-dev] but the package is fixed to 11.0.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.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Composer [require drupal/calendar:^1.0@beta] failed, composer command failed: exit status 2. stderr=
πŸ‡ΊπŸ‡ΈUnited States lvthunder

Thank you once again.  That fixed it.

πŸ‡ΊπŸ‡ΈUnited States lvthunder

Should I uninstall it from Drupal first?

πŸ‡ΊπŸ‡ΈUnited States lvthunder

I did that and now the error changed to this.

  Problem 1
    - Conclusion: don't install drupal/core-recommended 10.1.x-dev (conflict analysis result)
    - drupal/core-recommended 10.0.0-alpha1 requires drupal/core 10.0.0-alpha1 -> satisfiable by drupal/core[10.0.0-alpha1].
    - Conclusion: don't install drupal/core 10.0.0-alpha1 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-alpha2 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-alpha3 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-alpha4 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-alpha5 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-alpha6 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-alpha7 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-beta1 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-beta2 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-rc1 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-rc2 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0-rc3 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.0 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.1 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.2 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.3 (conflict analysis result)
    - Conclusion: don't install drupal/core-recommended 10.0.4 (conflict analysis result)
    - drupal/core[8.4.0-alpha1, ..., 8.7.7] require symfony-cmf/routing ^1.4 -> satisfiable by symfony-cmf/routing[1.4.0-RC1, ..., 1.4.x-dev].
    - drupal/core[8.2.0-beta1, ..., 8.3.x-dev] require symfony-cmf/routing ~1.4 -> satisfiable by symfony-cmf/routing[1.4.0-RC1, ..., 1.4.x-dev].
    - drupal/core[9.0.0-alpha1, ..., 9.0.0-alpha2] require symfony/psr-http-message-bridge ^1.2.0 -> satisfiable by symfony/psr-http-message-bridge[v1.2.0, v1.3.0].
    - drupal/core[8.7.8, ..., 8.9.10] require symfony/psr-http-message-bridge ^1.1.2 -> satisfiable by symfony/psr-http-message-bridge[v1.1.2, 1.1.x-dev, v1.2.0, v1.3.0].
    - drupal/core[8.8.0-alpha1, ..., 8.8.x-dev] require zendframework/zend-feed ^2.12 -> satisfiable by laminas/laminas-feed[2.12.0, ..., 2.21.x-dev], zendframework/zend-feed[2.12.0, 2.12.x-dev, 2.13.x-dev].
    - symfony/process[v4.0.0-BETA1, ..., v4.4.10] require php ^7.1.3 -> your php version (8.1.16) does not satisfy that requirement.
    - symfony/process[v5.0.0-BETA1, ..., v5.0.0-RC1] require php ^7.2.9 -> your php version (8.1.16) does not satisfy that requirement.
    - symfony/process[v5.0.0, ..., v5.1.0-RC1] require php ^7.2.5 -> your php version (8.1.16) does not satisfy that requirement.
    - drupal/core 8.0.0-beta6 requires doctrine/common dev-master#a45d110f71c323e29f41eb0696fa230e3fa1b1b5 -> found doctrine/common[dev-remove-int-cast, 2.1.3, ..., 2.13.x-dev, 3.0.0, ..., 3.5.x-dev] but it does not match the constraint.
    - zendframework/zend-feed[dev-master, dev-develop, 2.11.0, ..., 2.13.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.16) does not satisfy that requirement.
    - laminas/laminas-feed[2.12.0, ..., 2.12.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.16) does not satisfy that requirement.
    - symfony/psr-http-message-bridge[v1.1.0, ..., 1.1.x-dev] require php ^5.3.3 || ^7.0 -> your php version (8.1.16) does not satisfy that requirement.
    - symfony-cmf/routing[1.4.0-RC1, ..., 1.4.x-dev] require php ^5.3.9|^7.0 -> your php version (8.1.16) does not satisfy that requirement.
    - symfony/psr-http-message-bridge[v1.2.0, ..., v1.3.0] require php ^7.1 -> your php version (8.1.16) does not satisfy that requirement.
    - drupal/core[8.9.11, ..., 8.9.x-dev] require php ^7.0.8 -> your php version (8.1.16) does not satisfy that requirement.
    - drupal/core[9.0.10, ..., 9.0.x-dev] require php ^7.3 -> your php version (8.1.16) does not satisfy that requirement.
    - laminas/laminas-feed[2.13.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.1.16) does not satisfy that requirement.
    - drupal/upgrade_status[3.15.0, ..., 3.x-dev] require drupal/core ^8 || ^9 -> satisfiable by drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev].
    - drupal/upgrade_status 3.14.0 requires symfony/process ^3.4|^4.0|^5.0 -> satisfiable by symfony/process[v3.4.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.1.x-dev].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.0.0-beta12, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.1.x-dev].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.1.2, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.1.x-dev].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.1.8, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.1.x-dev].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.7.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.1.x-dev].
    - You can only install one version of a package, so only one of these can be installed: symfony/process[v2.1.0, ..., 2.8.x-dev, v3.2.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.3.x-dev].
    - drupal/core-recommended 10.0.x-dev requires drupal/core 10.0.x-dev -> satisfiable by drupal/core[10.0.x-dev].
    - drupal/core-recommended 10.0.x-dev requires symfony/process ~v6.2.5 -> satisfiable by symfony/process[v6.2.5, v6.2.7, 6.2.x-dev].
    - Root composer.json requires drupal/core-recommended ^10 -> satisfiable by drupal/core-recommended[10.0.0-alpha1, ..., 10.1.x-dev].
    - Root composer.json requires drupal/upgrade_status ^3.14 -> satisfiable by drupal/upgrade_status[3.14.0, ..., 3.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
πŸ‡ΊπŸ‡ΈUnited States lvthunder

So now I'm on to upgrading to Drupal 10 and I get this.

  Problem 1
    - drupal/console[1.9.7, ..., 1.9.9] require drupal/console-core 1.9.7 -> satisfiable by drupal/console-core[1.9.7].
    - Conclusion: don't install drupal/console-core 1.9.7 (conflict analysis result)
    - drupal/console 1.9.10 requires drupal/console-core ^1.9.8 -> satisfiable by drupal/console-core[1.9.8].
    - Conclusion: don't install drupal/console-core 1.9.8 (conflict analysis result)
    - drupal/console[1.0.2, ..., 1.9.4] require php ^5.5.9 || ^7.0 -> your php version (8.1.16) does not satisfy that requirement.
    - twig/twig[v2.12.0, ..., v2.12.5] require php ^7.0 -> your php version (8.1.16) does not satisfy that requirement.
    - Root composer.json requires drupal/console ^1.0.2 -> satisfiable by drupal/console[1.0.2, ..., 1.9.10].
    - drupal/core-recommended[10.0.0-alpha6, ..., 10.0.0-alpha7] require twig/twig ~v3.3.10 -> satisfiable by twig/twig[v3.3.10].
    - drupal/core-recommended[10.0.0-alpha4, ..., 10.0.0-alpha5] require twig/twig v3.3.10 -> satisfiable by twig/twig[v3.3.10].
    - Conclusion: don't install twig/twig v3.3.10 (conflict analysis result)
    - drupal/core-recommended[10.0.0-beta2, ..., 10.0.0] require twig/twig ~v3.4.3 -> satisfiable by twig/twig[v3.4.3].
    - drupal/core-recommended 10.0.0-beta1 requires twig/twig ~v3.4.2 -> satisfiable by twig/twig[v3.4.2, v3.4.3].
    - Conclusion: don't install twig/twig v3.4.3 (conflict analysis result)
    - drupal/core-recommended[10.0.1, ..., 10.0.x-dev] require twig/twig ~v3.5.0 -> satisfiable by twig/twig[v3.5.0, v3.5.1].
    - drupal/core-recommended 10.1.x-dev requires twig/twig ~v3.5.1 -> satisfiable by twig/twig[v3.5.1].
    - Conclusion: don't install twig/twig v3.5.1 (conflict analysis result)
    - drupal/console 1.9.5 requires drupal/console-core 1.9.6 -> satisfiable by drupal/console-core[1.9.6].
    - drupal/core-recommended[10.0.0-alpha2, ..., 10.0.0-alpha3] require twig/twig v3.3.8 -> satisfiable by twig/twig[v3.3.8].
    - Conclusion: don't install twig/twig v3.3.8 (conflict analysis result)
    - drupal/console-core 1.9.6 requires twig/twig ^1.38.2|^2.12.0 -> satisfiable by twig/twig[v1.38.2, ..., 1.x-dev, v2.12.0, ..., 2.x-dev].
    - You can only install one version of a package, so only one of these can be installed: twig/twig[v1.16.0, ..., 1.x-dev, v2.12.0, ..., 2.x-dev, v3.0.0-BETA1, ..., 3.x-dev].
    - drupal/core-recommended 10.0.0-alpha1 requires twig/twig v3.3.7 -> satisfiable by twig/twig[v3.3.7].
    - Root composer.json requires drupal/core-recommended ^10 -> satisfiable by drupal/core-recommended[10.0.0-alpha1, ..., 10.1.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

and my composer.json looks like this.

{
    "name": "drupal-composer/drupal-project",
    "description": "Project template for Drupal 8 projects with composer",
    "type": "project",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "",
            "role": ""
        }
    ],
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],
    "require": {
        "php": ">=5.6",
        "composer/installers": "^1.7",
        "cweagans/composer-patches": "^1.6.5",
        "drupal/address": "~1.0",
        "drupal/anonymous_login": "^2.0",
        "drupal/auto_entitylabel": "^3.0",
        "drupal/console": "^1.0.2",
        "drupal/core-composer-scaffold": "^10",
        "drupal/core-project-message": "^10",
        "drupal/core-recommended": "^10",
        "drupal/csv_serialization": "^2.1",
        "drupal/login_emailusername": "^2.1",
        "drupal/paragraphs": "^1.12",
        "drupal/pathauto": "^1.4",
        "drupal/token": "^1.5",
        "drupal/upgrade_status": "^3.14",
        "drupal/views_data_export": "^1.0@beta",
        "drush/drush": "^11.0.0",
        "vlucas/phpdotenv": "^2.4",
        "webflo/drupal-finder": "^1.0.0",
        "webmozart/path-util": "^2.3",
        "zaporylie/composer-drupal-optimizations": "^1.2"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "composer/installers": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "drupal/console-extend-plugin": true,
            "cweagans/composer-patches": true,
            "drupal/core-composer-scaffold": true,
            "zaporylie/composer-drupal-optimizations": true,
            "drupal/core-project-message": true
        }
    },
    "autoload": {
        "classmap": [
            "scripts/composer/ScriptHandler.php"
        ],
        "files": ["load.environment.php"]
    },
    "scripts": {
        "pre-install-cmd": [
            "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
        ],
        "pre-update-cmd": [
            "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
        ],
        "post-install-cmd": [
            "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
        ],
        "post-update-cmd": [
            "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
        ]
    },
    "extra": {
        "composer-exit-on-patch-failure": true,
        "patchLevel": {
            "drupal/core": "-p2"
        },
        "installer-paths": {
            "web/core": ["type:drupal-core"],
            "web/libraries/{$name}": ["type:drupal-library"],
            "web/modules/contrib/{$name}": ["type:drupal-module"],
            "web/profiles/contrib/{$name}": ["type:drupal-profile"],
            "web/themes/contrib/{$name}": ["type:drupal-theme"],
            "drush/Commands/{$name}": ["type:drupal-drush"]
        },
        "drupal-scaffold": {
             "locations": {
             "web-root": "./"
    }
        }
    },
    "require-dev": {
        "drupal/core-dev": "^10"
    }
}
πŸ‡ΊπŸ‡ΈUnited States lvthunder

Thanks so much for your help.  Changing the drush to version 11 fixed the entire thing.  Now it's on Drupal 9.

Production build 0.71.5 2024