Components module should be a requirement

Created on 8 February 2023, almost 2 years ago
Updated 4 April 2023, over 1 year ago

Problem/Motivation

As with the Radix theme , failing to install the Components module will cause January Bootstrap 5 to choke.

Steps to reproduce

1. Enable January Bootstrap 5 theme
2. Navigate to any non-admin page
3. Error generated: Twig\Error\LoaderError: Template "themes/january_theme/templates/layout/html.html.twig" is not defined. in …/vendor/twig/twig/src/Loader/ChainLoader.php on line 99 #0 …/vendor/twig/twig/src/Environment.php(264): Twig\Loader\ChainLoader->getCacheKey('themes/january_...')

Proposed resolution

Add the Components module as a dependency

🐛 Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇺🇸United States mrtoner

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

Comments & Activities

  • Issue created by @mrtoner
  • Status changed to Postponed: needs info over 1 year ago
  • 🇮🇳India Dheeraj Jhamtani

    Hi Don Morris, Can you please send more info about the issue with screenshots as I am not able to reproduce the issue.

  • 🇺🇸United States bogdog400

    I just tried January with a clean install of Drupal 10.0.7 and experienced this problem too:

    Error: Class "Symfony\Cmf\Component\Routing\RouteObjectInterface" not found in january_preprocess_block() (line 176 of /var/www/html/AI1/web/themes/contrib/january_theme/january.theme).
    

    Alas, there are some requirement issues that prevent this from working:

    
      Problem 1
        - Root composer.json requires drupal/components ^2.4 -> satisfiable by drupal/components[2.4.0, 2.x-dev].
        - drupal/components[2.4.0, ..., 2.x-dev] require drupal/core ^8.7.7 || ^9 -> found drupal/core[8.7.7, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but the package is fixed to 10.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    
Production build 0.71.5 2024