update to beta 2 faild because of missing dependency
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3260923. -->
Reported by: [joachim namyslo](https://www.drupal.org/user/275771)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>composer update from beta 1 to beta 2 faild. dependency is missing in code so a code fix is needed</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>make sure you're composer.json stability value equals to dev to be able to update</p>
<p>composer update</p>
<p>See error message from shell</p>
<p>Loading composer repositories with package information<br>
Updating dependencies<br>
Lock file operations: 1 install, 1 update, 0 removals<br>
- Locking drupal/context_stack (1.0.0-beta5)<br>
- Upgrading drupal/eca (1.0.0-beta1 => 1.0.0-beta2)<br>
Writing lock file<br>
Installing dependencies from lock file (including require-dev)<br>
Package operations: 1 install, 1 update, 0 removals<br>
- Downloading drupal/context_stack (1.0.0-beta5)<br>
- Downloading drupal/eca (1.0.0-beta2)<br>
- Installing drupal/context_stack (1.0.0-beta5): Extracting archive<br>
- Upgrading drupal/eca (1.0.0-beta1 => 1.0.0-beta2): Extracting archive<br>
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.<br>
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.<br>
Generating autoload files<br>
51 packages you are using are looking for funding.<br>
Use the `composer fund` command to find out more!<br>
joachim@h2941247:~/httpdocs/sithis$ vendor/drush/drush/ updb<br>
-bash: vendor/drush/drush/: Ist ein Verzeichnis<br>
joachim@h2941247:~/httpdocs/sithis$ vendor/drush/drush/drush updb</p>
<p>In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:</p>
<p> <strong> The service "context_stack.eca" has a dependency on a non-existent service "context_stack.factory". </strong></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue