Problem/Motivation
When trying to add the Storybook module to a Drupal CMS site, the install fails with the following error:
Problem 1
- Root composer.json requires drupal/storybook ^1.0 -> satisfiable by drupal/storybook[1.0.0, 1.0.1, 1.0.2, 1.0.3].
- drupal/storybook[1.0.0, ..., 1.0.3] require symfony/css-selector ^4 || ^6 || ^7 -> found symfony/css-selector[v4.0.0, ..., v4.4.44, v6.0.0, ..., v6.4.34, v7.0.0, ..., v7.4.9] but the package is fixed to v8.1.0 (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.
Steps to reproduce
composer require "drupal/storybook:^1.0
Proposed resolution
Update the composer.json to include compatibility for symfony/css-selector ^8
Issue fork storybook-3602345
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
Comment #3
gavinrfitzgerald commented