Skip to content

Instantly share code, notes, and snippets.

@PureLandFlying
Last active July 7, 2019 21:22
Show Gist options
  • Save PureLandFlying/1e348ed7c67bdf874765743cba8e2153 to your computer and use it in GitHub Desktop.
Save PureLandFlying/1e348ed7c67bdf874765743cba8e2153 to your computer and use it in GitHub Desktop.
Composer returns "Your requirements could not be resolved to an installable set of packages"

composer update drupal/core --with-dependencies

Your requirements could not be resolved to an installable set of packages.

Problem 1 - don't install drupal/core 8.7.4|remove drupal/drupal No version set (parsed as 1.0.0) - remove drupal/drupal No version set (parsed as 1.0.0)|remove drupal/core 8.7.4 - don't install drupal/core 8.7.4|remove drupal/drupal No version set (parsed as 1.0.0) - Installation request for drupal/drupal No version set (parsed as 1.0.0) -> satisfiable by drupal/drupal[No version set (parsed as 1.0.0)]. - Installation request for drupal/core ^8.7.4 -> satisfiable by drupal/core[8.7.4].

Removed the following from my composer.json:

"merge-plugin": {
    "include": [
        "core/composer.json"
    ],
    "recurse": false,
    "replace": false,
    "merge-extra": false
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment