drush dl-cycle-lib doesn't download files

Created on 9 January 2023, over 2 years ago
Updated 25 January 2023, over 2 years ago

Problem/Motivation

drush dl-cycle-lib only creates directories and does not install any files.

Steps to reproduce

I installed the views_slideshow and views_slideshow_cycle modules. Then I did "drush dl-cycle-lib" as instructed within the Drupal directory.

[success] The latest version of jQuery Cycle has been downloaded to libraries/jquery.cycle
[success] The latest version of jQuery HoverIntent has been downloaded to libraries/jquery.hoverIntent
[success] The latest version of JSON2 has been downloaded to libraries/json2
[success] The latest version of jQuery Pause has been downloaded to libraries/jquery.pause

However, all of those directories are empty, leading to these errors:

Warning: file_get_contents(libraries/json2/json2.js): Failed to open stream: No such file or directory in Drupal\Core\Asset\JsOptimizer->optimize() (line 25 of core/lib/Drupal/Core/Asset/JsOptimizer.php).
Warning: file_get_contents(libraries/jquery.cycle/jquery.cycle.all.js): Failed to open stream: No such file or directory in Drupal\Core\Asset\JsOptimizer->optimize() (line 25 of core/lib/Drupal/Core/Asset/JsOptimizer.php).
Warning: file_get_contents(libraries/jquery.hoverIntent/jquery.hoverIntent.js): Failed to open stream: No such file or directory in Drupal\Core\Asset\JsOptimizer->optimize() (line 25 of core/lib/Drupal/Core/Asset/JsOptimizer.php).

Proposed resolution

Command should install the files.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024