Add dependency for `drupal:path_alias`

Created on 22 February 2022, over 2 years ago
Updated 16 January 2023, over 1 year ago

Problem/Motivation

When installing a Drupal 9 site from configuration using Drush, I get an error that

The service "ng_lightbox" has a dependency on a non-existent service "path_alias.manager".

Steps to reproduce

  1. Export configuration from a website where ng_lightbox was previously previously installed.
  2. Install a website from that configuration.

Proposed resolution

Add drupal:path_alias as a module dependency, as another module did .

Remaining tasks

  1. Create patch
  2. Commit patch

Other

$ vendor/bin/drush site-install --existing-config

 [notice] Starting Drupal installation. This takes a while.
 [notice] Performed install task: install_select_language
 [notice] Performed install task: install_select_profile
 [notice] Performed install task: install_load_profile
 [notice] Performed install task: install_verify_requirements
 [notice] Performed install task: install_verify_database_ready
 [notice] Performed install task: install_base_system
 [notice] Performed install task: install_bootstrap_full

In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:

  The service "ng_lightbox" has a dependency on a non-existent service "path_alias.manager".
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇦Canada Nathan Tsai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024