- Issue created by @dan612
- Status changed to Needs review
9 months ago 11:17am 21 February 2024 - 🇮🇳India sarwan_verma
Hi @dan612,
I have fixed this issue "Cannot install on fresh Drupal 10 site" and also attached patch,
please review and verify.
Hello!
When attempting to install this module via composer on the latest release of Drupal 10 (core-recommended) I am met with the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/core-recommended 10.2.3 -> satisfiable by drupal/core-recommended[10.2.3].
- drupal/virustotal[2.0.0, ..., 2.0.x-dev] require guzzlehttp/guzzle ^6.3 -> satisfiable by guzzlehttp/guzzle[6.3.0, ..., 6.5.x-dev].
- You can only install one version of a package, so only one of these can be installed: guzzlehttp/guzzle[4.0.0-rc.1, ..., 4.x-dev, 5.0.0, ..., 5.3.x-dev, 6.0.0, ..., 6.5.x-dev, 7.0.0-beta.1, ..., 7.9.x-dev].
- drupal/core-recommended 10.2.3 requires guzzlehttp/guzzle ~7.8.1 -> satisfiable by guzzlehttp/guzzle[7.8.1, 7.8.x-dev].
- Root composer.json requires drupal/virustotal ^2.0 -> satisfiable by drupal/virustotal[2.0.0, 2.0.x-dev].
I believe the reason for this is Drupal 10 installs with guzzle ~7.8.1 - https://packagist.org/packages/drupal/core-recommended
Needs review
2.0
Code
Hi @dan612,
I have fixed this issue "Cannot install on fresh Drupal 10 site" and also attached patch,
please review and verify.