For fresh D8.78 install the basic install instructions don't work.
Drush Version 10.0.1
Composer Version 1.9.1
php 7.3x
composer require 'drupal/radix:^4.6'
composer require 'drupal/components:^1.1'
drush en components
drush en radix gives
In PmCommands.php line 247:
Unable to install modules radix due to missing modules radix.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | Screenshot 2019-11-28 at 14.21.12.jpg | 12.47 KB | nikitas |
Comments
Comment #2
rar9 commentedDrush command ONLY works in /web folder
So please update your guide accordingly.
Comment #3
rar9 commentedComment #4
cpierce42Comment #2 is untrue for me.
In a lando environment running under my base app/ folder or under app/web/ fails. Components is already enabled. Both are installed via composer. Output of failure:
Comment #5
cpierce42Comment #6
rachel_norfolkradix is a theme - need to use
drush then radixto enable the radix theme.Comment #7
shadcn commentedI've not upgraded to Drush 10 yet. I'll take a look at it.
Comment #8
tcarrAII was running into the same issues described above in OP and #4 (for context my Lando is on v3.0.0-rc.21 and my Lando Drush is 9.7.1)
I tried running the commands as radix was enabled but not default and when radix was enabled and default, but I would get the same error messages above.
I was able to create a sub-theme with the following code:
lando drush --include="web/themes/contrib/radix" radix:create "Theme Name"Change "Theme Name" do the name you want your subtheme to have, still in quotes
Comment #9
runzipel commented#8 worked for me! THX! Also on Drush 10 with latest dev of radix.
Comment #10
nikitas commented#6 has a typo
drush theme:enable radixworked for me.also
drush theme radixcreates an errorComment #11
pandelon commentedDrupal 8.8.1
Drush Version 10.1.1
Composer Version 1.9.2
working solution (on 20.01.2020):
drush theme:enable radix
for subtheme generate:
drush --include="themes/contrib/radix" radix:create "Theme Name"
Comment #12
phreaknerd commented#11 is only working if you are located in the "web" folder.
Take care of the include-path. It has to be relative to your actual location while executing the drush command.
I'm always working from drupal root, so it would be:
drush --include="web/themes/contrib/radix" radix:create "Theme Name"
Comment #13
emilcarpenter commentedThis issue might originate from the documentation at https://www.drupal.org/project/radix
Quick start for Drupal 8 & 9
1. Download and enable radix and components:
composer require drupal/radix; drush en components radix -yshould be:
1. Download and enable radix and components:
composer require drupal/radix; drush en components -y;drush then radix -yTested with:
Drupal 9.3
Radix 5.0.0-rc2
Comment #14
emilcarpenter commentedVersion change from 5.0.0.-rc2 to 5.x-dev
I hope this is the best practices approach, to file this against 5.x-dev.
Maintainers, please correct me if I am wrong.
Comment #15
emilcarpenter commentedAdded related/duplicate issue.
The solution is on the current page, in #13
Comment #16
doxigo commentedThanks for the comment Emil, fixed on the docs
Comment #18
wetbadger commentedI get
Unable to install modules components, radix due to missing modules components.
Comment #19
doxigo commented@wetbadger based on the frontpage docs, if you are using 5.x version, there's a dependency on the components module which you should download and enable.
If you are on version 6.x which I assume not, there's no dependency there, also why not try the 6.x version? :)
Comment #20
doxigo commented