Problem/Motivation
Composer require does not include the Drupal SDC module as dependency. As a result, I'm unable to enable same_page_preview after requiring it with composer.
Steps to reproduce
- composer require drupal/same_page_preview
- drush en same_page_preview -y
- Observe error: "Unable to install modules: module 'same_page_preview' is missing its dependency module sdc."
Proposed resolution
Add require drupal/sdc to project's composer.json, along with any other requirements, e.g. drupal/core, php version, etc.
Remaining tasks
- Consensus, which sdc version constraints are required?
- Other requirements, drupal/core, php?
- Patch
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork same_page_preview-3390667
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 #4
cosmicdreams commentedComment #6
cosmicdreams commentedDeployed version 2.1.2 with this fix.