Problem/Motivation

I am unable to update or install version 4.2.2 of Simple Sitemap via Composer. Instead, it installs 4.2.1. I tried entirely deleting the module files and all references to it in composer.json, composer.lock, vendor/composer/installed.json and vendor/composer/installed.php, and it still installed 4.2.1. I ended up manually downloading the tar.gz file.

Steps to reproduce

composer require 'drupal/simple_sitemap:^4.2'

Comments

matthewv789 created an issue. See original summary.

walkingdexter’s picture

Status: Active » Postponed (maintainer needs more info)

@matthewv789 I can't reproduce this problem on a fresh install. Try composer why-not drupal/simple_sitemap 4.2.2 or composer require "drupal/simple_sitemap:4.2.2" --dry-run to get more details. Most likely the problem is related to your environment or Composer configuration.

ssd2698’s picture

You might want to check which Drush version is currently being used in your project. The simple_sitemap module version 4.2.2 includes the following Composer constraint:

"conflict": {
  "drush/drush": "<12.5.1"
}

This means it won't install if you're using a version of Drush less than 12.5.1. If possible, try upgrading Drush to version 12.5.1 or higher, and then run composer require drupal/simple_sitemap:^4.2.2 again.

Hope this helps!

walkingdexter’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Fixed

#3 makes sense.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.