Unable to install using composer

Created on 29 May 2023, over 1 year ago
Updated 27 November 2023, 12 months ago

Howdy!

Trying to install this module in a Drupal 10.0.9 installation.

When I run...

composer require 'drupal/delete_unused_files:^1.0'

...I get the following error message:

./composer.json has been updated
Running composer update drupal/delete_unused_files
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/delete_unused_files ^1.0.1 -> satisfiable by drupal/delete_unused_files[1.0.1].
    - drupal/delete_unused_files 1.0.1 requires drupal/file * -> could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Let me know if you need any further info.

Thank you in advance!

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇯🇵Japan ilfelice

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ilfelice
  • First commit to issue fork.
  • First commit to issue fork.
  • @shiv_yadav opened merge request.
  • Status changed to Needs review about 1 year ago
  • 🇨🇿Czech Republic Bohus Ulrych Pilsen (Czechia)

    Hi, yes, I can confirm that it is not possible to install it with composer.
    Don't know how to install it with "merge request !4", but it looks good IMHO.

Production build 0.71.5 2024