Adding a component with drush doesn't work

Created on 17 February 2024, 10 months ago
Updated 26 February 2024, 10 months ago

When I try to add a radix component to my subtheme via drush --include="web/themes/contrib/radix" radix:add and selecting Image, it didn't work, I got an error message:

 [error]  The component 'Image' does not exist in the Radix theme. [9.46 sec, 27.55 MB] 
 [success] Component Image has been added to your hd_radix. You should update the related html.twig files to use your subtheme namespace. [9.46 sec, 27.55 MB]

and no component has been added to my theme. I'm using drush version 12.4.3.0

๐Ÿ› Bug report
Status

Closed: won't fix

Version

6.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฟCzech Republic milos.kroulik

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

Comments & Activities

  • Issue created by @milos.kroulik
  • Thanks for reporting this Miloลก, will check it out soon, but have you tried <a href="https://github.com/doxigo/drupal-radix-cli" title="Drupal Radix CLI">drupal-radix-cli</a> so far? that's rather a better approach IMO

  • Status changed to Closed: won't fix 10 months ago
  • Okay I checked this out and it wasn't really working properly in the first place, the issue was due to the capitalization of the component names and mismatch between the YML files name and the directory paths

    Regardless, this is an overhead to maintain and doesn't really add any benefits anymore with drupal-radix-cli being available now. I'm deprecating/removing this in favor of that.

    Marking this as won't fix, thanks.

Production build 0.71.5 2024