In Container.php line 157:
You have requested a non-existent service "ymca_sync.sync_repository".
The error happens because the services in Symfony 5 and above are now created private by default. Drupal expects services to be explicitly set to public. More info found here: https://www.drupal.org/node/3194517
After update to Drupal 10, the following command
produces the error:
The error happens because the services in Symfony 5 and above are now created private by default. Drupal expects services to be explicitly set to public. More info found here: https://www.drupal.org/node/3194517