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

Command icon 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

jasonawant created an issue. See original summary.

cosmicdreams made their first commit to this issue’s fork.

cosmicdreams’s picture

  • cosmicdreams committed 7b818c91 on 2.1.x
    Issue #3390667: Composer require does not include the Drupal SDC module...
cosmicdreams’s picture

Status: Active » Fixed

Deployed version 2.1.2 with this fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.