- Issue created by @maxstarkenburg
I was following the instructions at
https://www.drupal.org/project/lightning_core/releases/6.0.0 →
, and copied composer update 'drupal/lightning_*' –with-all-dependencies
from that to page to run. I then proceeded to wonder why nothing but the lightning_
modules were updated in my composer.lock file. But noticed the composer output was complaining about Package "–with-all-dependencies" listed for update is not locked."
I was further confused when I then copied the example again but just prefixed –with-all-dependencies
with another hyphen and it still didn't work. Turns out the culprit seems to be it's an en dash on that page instead of a single dash/hyphen. (The other --with-all-dependencies
examples on the page seem to be fine.)
Change
composer update 'drupal/lightning_*' –with-all-dependencies
(including completely removing the en dash) to
composer update 'drupal/lightning_*' --with-all-dependencies
(two hyphens) at:
none
none
none
Active
6.0
Documentation