Getting the same issue as under https://www.drupal.org/project/radix/issues/3244325 for Radix 5 install of subtheme

Drupal 9.2x + Php8 + Components 2.4 + radix 5

drush --include="web/themes/contrib/radix" radix:create "Subtheme"

PHP Fatal error: Trait 'Robo\Task\Archive\loadTasks' not found in /web/themes/contrib/radix/Commands/radix/SubThemeCommands.php on line 24

also tried adding "consolidation/robo": "^3.0" & components 3.... but error stays

Comments

Rar9 created an issue. See original summary.

rar9’s picture

With "consolidation/robo": "^1.0" it seams to work :-(

  • doxigo committed 915cf49 on 5.0.x
    Issue #3245574: Add consolidation/robo package as dependency for php8...
doxigo’s picture

Thanks for bringing this up, added a minimum version of the required package, even though we probably have to kill this way of creating a subtheme and extend it with a newer core approach

for now, its fixed on the latest 5.x-dev version, will release a new beta soon

doxigo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

charly71’s picture

Doesn't work for me

robbt’s picture

So the issue here is that 'consolidation/robo' 3.0 doesn't work and gives this error.
When I switched to force consolidation/robo": "^1.0" - it appears to work.

Also consolidation/robo wasn't automatically installed when I installed the radix theme, so perhaps there is still an issue somewhere. I'm using the latest dev version of radix as of today.