I can't seem to follow documented procedures for creating a subprofile (little of this anyway)
Steps I followed:
-
composer create-project acquia/lightning-project lightning-vanilla
-
cd lightning-vanilla
-
./vendor/bin/drupal list
This results in command not found... I tried to require drupal/console using composer but that failed since it needs to downgrade symfony/debug and others... So I manually added
drupal/console:^1.9
to the composer.json file in the required section...
-
composer update
-
./vendor/bin/drupal list | grep lightning
However, running these commands shows up nothing... How do I create a subprofile?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screenshot 2019-06-18 at 10.59.19 PM.png | 65.33 KB | dishabhadra |
Comments
Comment #2
dishabhadra commentedConfirming that this issue exists.
I tried to install Drupal Console in my repo by
composer require drupal/console --dev --prefer-dist --optimize-autoloader.But the composer is throwing errors w.r.t version locking of symfony packages.(In my case the package is symfony/dom-crawler)
More details in attached screenshot.
Since Drupal Console seems to be the correct way of creating sub-profile, This seems to be the blocker?
Comment #3
phenaproximaSo, an annoying quirk about Drupal Console is that it requires Drupal to be installed in order for module/profile-exposed commands to be discoverable.
In other words, you first need to install Lightning (i.e.,
drush sior the web installer) in order to sub-profile it. This sucks, but unfortunately it seems to be a limitation of Drupal Console and I'm not sure there's anything Lightning can do about it. Sorry! :(