Problem/Motivation
When I try to install date via composer require drupal/date fails.
composer require drupal/date
Using version ^2.10 for drupal/date
./composer.json has been updated
Running composer update drupal/date
Gathering patches for root package.
Removing package cweagans/composer-patches so that it can be re-installed and re-patched.
- Removing cweagans/composer-patches (1.7.0)
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
- Locking drupal/date (2.10.0)
- Locking drupal/date_api (2.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
- Installing cweagans/composer-patches (1.7.0): Extracting archive
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
- Installing drupal/date_api (2.10.0)
- Installing drupal/date (2.10.0): Extracting archive
Files of installed package were overwritten with preserved path /var/www/html/web/sites!
Generating autoload files
16 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Steps to reproduce
Proposed resolution
Use date version 2.8 works.
Comments
Comment #2
xcusso commentedComment #3
damienmckennaIt isn't clear what the error is in the output above?
Comment #4
xcusso commented