Created on 19 May 2023, over 1 year ago
Updated 30 May 2024, 7 months ago

Problem/Motivation

Followed all the steps in the README (apart from the components dependency which must be required with specific version) on a clean D10 install with DDEV, installed, runned and built the npm in dev mode, cleared caches, and this is what I get navigating to the front:

AssertionError: $attributes, if set, must be an array or object of type \Drupal\Core\Template\Attribute in assert() (line 245 of core/lib/Drupal/Core/Template/TwigExtension.php)

Please also note the following:

  1. README instruction composer require drupal/components drupal/ui_patterns is wrong/contradictory with the previous and it will result in unresolvable set of packages (one needs to require 'drupal/components:^3.0@beta' specifically at the moment)
  2. Having a 7.08 MiB of minified javascript (of which 1.63 MiB orphan modules) and almost 2 MiB in CSS as a base theme seems a bit too much (probably needs some cleaning).
  3. During set up, npm fired 4 deprecation notices:
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
🐛 Bug report
Status

Closed: cannot reproduce

Version

2.6

Component

Code

Created by

🇮🇹Italy kopeboy Milan

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

Comments & Activities

Production build 0.71.5 2024