Problem/Motivation

When attempting to install Module Blacklist in a fresh drupal 10 site, it will fail with the following error:

  The service "module_blacklist.module_installer" has a dependency on a non-existent service "app.root".

Steps to reproduce

Install fresh drupal 10, install Module blacklist 1.0-alpha 4. Attempt to install/enable module blacklist.

Proposed resolution

Patch to come.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

lnunesbr created an issue. See original summary.

lnunesbr’s picture

StatusFileSize
new468 bytes

Have adjusted to service name, now install goes fine.

omkar_yewale’s picture

Assigned: Unassigned » omkar_yewale
Status: Active » Needs review
omkar_yewale’s picture

Assigned: omkar_yewale » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new147.95 KB
new218.55 KB

I am also experiencing the same issue on Drupal 10 and the patch fixed it.
Marking RTBC

manuel garcia’s picture

+1 to RTBC

Change Record related to this: https://www.drupal.org/node/3080612