Problem/Motivation

Hello,

Thanks for your promising module.

drupal/preloader needs darkghosthunter/preloader (^2.1.0) which needs symfony/finder (^4.3||^5.0.5) : https://github.com/DarkGhostHunter/Preloader/blob/master/composer.json

But Drupal 8 needs symfony/finder (~3.4.0) : https://git.drupalcode.org/project/drupal/-/blob/8.9.x/composer.json

So, it is not possible to install this module on a Drupal 8 website.

Steps to reproduce

Do this from a D8/9 website:

composer require drupal/preloader

And get this:

Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Installation request for darkghosthunter/preloader ^2.1.0 -> satisfiable by darkghosthunter/preloader[v2.1.0].
    - Conclusion: remove symfony/finder v3.4.47
    - Conclusion: don't install symfony/finder v3.4.47
    - darkghosthunter/preloader v2.1.0 requires symfony/finder ^4.3||^5.0.5 -> satisfiable by symfony/finder[4.3.x-dev, 4.4.x-dev, 5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.x-dev, v4.3.0, v4.3.0-BETA1, v4.3.0-BETA2, v4.3.0-RC1, v4.3.1, v4.3.10, v4.3.11, v4.3.2, v4.3.3, v4.3.4, v4.3.5, v4.3.6, v4.3.7, v4.3.8, v4.3.9, v4.4.0, v4.4.0-BETA1, v4.4.0-BETA2, v4.4.0-RC1, v4.4.1, v4.4.10, v4.4.11, v4.4.12, v4.4.13, v4.4.14, v4.4.15, v4.4.16, v4.4.17, v4.4.18, v4.4.19, v4.4.2, v4.4.3, v4.4.4, v4.4.5, v4.4.6, v4.4.7, v4.4.8, v4.4.9, v5.0.10, v5.0.11, v5.0.5, v5.0.6, v5.0.7, v5.0.8, v5.0.9, v5.1.0, v5.1.0-BETA1, v5.1.0-RC1, v5.1.0-RC2, v5.1.1, v5.1.10, v5.1.11, v5.1.2, v5.1.3, v5.1.4, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9, v5.2.0, v5.2.0-BETA1, v5.2.0-BETA2, v5.2.0-BETA3, v5.2.0-RC1, v5.2.0-RC2, v5.2.1, v5.2.2, v5.2.3].

Proposed resolution

Stick with darkghosthunter/preloader 2.0.1 or remove Drupal 8 compatibility.

Comments

pdureau created an issue. See original summary.

hussainweb’s picture

Status: Active » Needs work

Apologies for coming so late to this. Here are my notes:
- You're right about the symfony/finder version. It won't install on Drupal 8. I wonder how I tested this on Drupal 8.9.
- Even if we install the 2.0.1 version of the package, it possibly won't work because the missing dependency was due to a bug. It did need symfony/finder version 4 and above. Details at https://github.com/DarkGhostHunter/Preloader/releases/tag/v2.0.2.
- So, I think the right move is to drop Drupal 8 support. Drupal 8 isn't supported anymore anyway, so this is an easy decision.

  • hussainweb committed a1e1064 on 1.x
    Issue #3197046 by pdureau, hussainweb: Dependency issues between Drupal...
hussainweb’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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