Problem/Motivation

During composer install with the drupal libraries configured I'm having the error from the image uploaded.

phpstan/extension-installer: Extensions installed
  - Installing drupal-library/DOMPurify (2.3.8): Extracting archive
  - Installing drupal-library/drupal-fullcalendar (5.11.2): Extracting archive
  - Installing drupal-library/moment (2.29.4): Extracting archive
  - Installing drupal-library/rrule (2.7.0): Extracting archive
  - Installing drupal-library/fullcalendar-rrule (5.11.2): Extracting archive
  - Installing drupal-library/fullcalendar-moment (5.11.2): Extracting archive
  - Processing drupal-library/rrule files...
    - Removing docroot/libraries/rrule/dist/esm/demo

In RecursiveDirectoryIterator.php line 127:

  RecursiveDirectoryIterator::__construct(docroot/libraries/rrule/dist/esm/demo): Failed to open directory: No such file or directory


In RecursiveDirectoryIterator.php line 48:

  RecursiveDirectoryIterator::__construct(docroot/libraries/rrule/dist/esm/demo): Failed to open directory: No such file or directory

Proposed resolution

Remove the ignore from current composer.json

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

aluzzardi created an issue. See original summary.

codebymikey’s picture

Will look into fixing this in the upstream zodiacmedia/drupal-libraries-installer library as it's a relatively new issue, presumably related to a change in PHP/composer behaviour.

codebymikey’s picture

You may update to the v1.6.0 version of the zodiacmedia/drupal-libraries-installer package and let me know if it fixes the issue for you.

mingsong’s picture

Status: Active » Postponed (maintainer needs more info)
aluzzardi’s picture

Hi @codebymikey!

Yes, just run an update here using the latest RC version and all worked as should.
I will close my PR and we can close this issue.

Cheers!

aluzzardi’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)