- 🇮🇳India dev22.addweb
I am getting below errors on
drush audiofield:download
[error] The specified file '/var/www/html/web/libraries/audiojs/audiojs' could not be moved to '/tmp/temp_audiofield'.
I have created empty libraries directory before running the commandSteps to reproduce:
- Create a fresh Drupal 9 site
- add and audiofield module using composer
- Now run
drush audiofield:download
command
I am using Drush 11.
- 🇩🇰Denmark ressa Copenhagen
I am seeing this as well:
$ drush audiofield:download jplayer In FileSystem.php line 408: The specified file '/var/www/html/web/libraries/jplayer/jPlayer-2.9.2' could not be moved to '/tmp/temp_audiofield'. Failed to run drush audiofield:download jplayer: exit status 1
Also, if I go to
/admin/reports/status
I get a WSOD and this error, so raising priority:The website encountered an unexpected error. Try again later. Drupal\Core\File\Exception\NotRegularDirectoryException: /var/www/html/web/libraries/jplayer/dist/skin/ is not a directory. in Drupal\Core\File\FileSystem->scanDirectory() (line 659 of core/lib/Drupal/Core/File/FileSystem.php). _audiofield_list_skins() (Line: 20) audiofield_library_info_build() call_user_func_array() (Line: 407) Drupal\Core\Extension\ModuleHandler->invoke() (Line: 419) Drupal\Core\Asset\LibraryDiscoveryParser->parseLibraryInfo() (Line: 157) Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension() (Line: 87) [...]