Composer requirement

Created on 13 December 2017, almost 7 years ago
Updated 10 April 2023, over 1 year ago

Got most of the way through a drush installation/anable, only to be told:
"CSV Serialization requires the League\Csv library. [error]"

An attempt to simply download the library and enable the CSV Serialization module earned this:
"You must use Composer to manage your Drupal site dependencies."

Must? I already have the site installed and set up. I have never used Composer, and don't really have the desire to start, if it means starting over. Please could this Composer requirement (albeit a second-hand one) be added to the Views Data Export page as well? It was a heck of a thing to stumble on. Now I have to decide whether I should learn and implement Composer, or find another solution, if there is one...

Sorry. Just frustrated. Not sure why composer is a MUST for them. Thanks for listening.

Sincerely,
Crotchety old woman

πŸ’¬ Support request
Status

Closed: won't fix

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States justkristin

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.

  • πŸ‡·πŸ‡ΊRussia allexim

    Composer is also failed to install with:

    <strong>php82 /usr/local/bin/composer82 require 'drupal/views_data_export:^1.3'</strong>
    Problem 1
        - drupal/csv_serialization 1.4.0 requires drupal/core ^8.0.4 -> found drupal/core[8.0.4, ..., 8.9.20] but the package is fixed to 10.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
        - drupal/csv_serialization 1.5.0 requires drupal/core ^8.7.12 || ^9.0 -> found drupal/core[8.7.12, ..., 8.9.20, 9.0.0, ..., 9.5.7] but the package is fixed to 10.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
        - drupal/csv_serialization[2.0.0, ..., 2.1.0] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.7] but the package is fixed to 10.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
        - drupal/views_data_export 1.3.0 requires drupal/csv_serialization ~1.4 || ~2.0 || ~3 -> satisfiable by drupal/csv_serialization[1.4.0, 1.5.0, 2.0.0, 2.1.0].
        - Root composer.json requires drupal/views_data_export ^1.3 -> satisfiable by drupal/views_data_export[1.3.0].
    

    Only plain longstanding and reliable method < wget https://ftp.drupal.org/files/projects/views_data_export-8.x-1.3.tar.gz> allows to run it after this:
    php82 /usr/local/bin/composer82 require 'drupal/csv_serialization:^3.0@RC'

    Alas, but i was unable to figure out of a usage of drush: drush views-data-export [view-name] [display-id] [output-file].

    My View

    [view-name]

    http://web.site/admin/structure/views/view/eva_video

    [display-id]

    http://web.site/admin/structure/views/view/eva_video/edit/entity_view_1

    [output-file]

    eva_video.xml

    Input command: (from root) php82 ./vendor/bin/drush views-data-export eva_video entity_view_1 eva_video.xml

    Normal front-end execution for Views-view is also vague - no expected result to export the whole view.

Production build 0.71.5 2024