Problem/Motivation

The drupal throws below error in some pages:
AssertionError: CSS must be nested under a category. See https://www.drupal.org/node/2274843. in assert() (line 175 of /app/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php).

Proposed resolution

  • Remove the commented code in bootstrap5.libraries.yml

Issue fork bootstrap-3390109

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

abinshoby created an issue. See original summary.

abinshoby’s picture

Tanushree Gupta made their first commit to this issue’s fork.

shelane’s picture

There is no bootstrap5.libraries.yml file in this theme and no support for Bootstrap 5. I’m not sure what problem is being reported for this theme.

avpaderno’s picture

@abinshoby Are you sure you are not using the Bootstrap5 theme?

avpaderno’s picture

Project: Bootstrap » Bootstrap5
Version: 8.x-3.x-dev » 4.0.x-dev
Assigned: abinshoby » Unassigned

I am resetting the Assigned field, since the assigned person has not worked on the issue in the past 24 hours.

jannakha’s picture

Status: Active » Needs work

- How do you reproduce this issue? I can't reproduce on my local.
- Re: Patch #2: How does removing commented out lines resolve the issue?

jannakha’s picture

Status: Needs work » Postponed (maintainer needs more info)