Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Thank you for your happy help, arshadcn !
The subtheme drush command create a SUBTHEME.style.scss file which contains an compass import. But compass isn't used now, if I don't mistake...
Gulp notify the error :
gulp-notify: [Gulp] Error: scss/oculus.style.scss
17:1 File to import not found or unreadable: compass
Parent style sheet: stdin
Is the solution to delete the next line in the SUBTHEME.style.scss file ?
@import "compass";
Comments
Comment #2
shadcn CreditAttribution: shadcn at Chapter Three commentedYep. If you don't need compass, you can comment the line and run gulp.
Comment #3
FO CreditAttribution: FO commentedThank you !
But is it always possible to use compass with node-sass ?
I'm going to make some tests...
Comment #4
FO CreditAttribution: FO commentedIn fact, I've another problem...
To make some tests, I made another subtheme but Bootstrap isn't imported.
Bootstrap must be imported with the "npm run setup" command ?
My bower version is 1.7.9
Gulp : CLI version 3.9.1 - Local version 3.9.1
npm : 3.8.9
nodejs : v6.2.0
Comment #5
shadcn CreditAttribution: shadcn at Chapter Three commentednpm run setup
will install all dependencies.gulp
will create the CSS files and watch for changes.Comment #6
FO CreditAttribution: FO commentedYes... Gulp can't create the CSS files because don't find bootstrap files...
npm run setup
normally installs bootstrap-sass ?Comment #7
shadcn CreditAttribution: shadcn at Chapter Three commentedYeah it should install it. If not try installing it using:
bower install bootstrap-sass
.Comment #8
FO CreditAttribution: FO commentedOk ! Thanks ! bootstrap-sass is well installed !
Now gulp notify a new error :
Is my subtheme.info.yml correct ?
Comment #9
shadcn CreditAttribution: shadcn at Chapter Three commentedHmm, this is an old bug. Are you using the latest version? 7.x-3.4? We fixed this in the recent release.
Comment #10
FO CreditAttribution: FO commentedIt's the 8.x-3.0-alpha3 version...
Yes, on drupal 7 installation I don't have this problem.. But I wanted to work with radix on drupal 8 installation.
Comment #11
Joachim NamysloI can confirm this bug is steill existing started using 8.3 yesterday, Noticed the same issues.
Comment #12
shadcn CreditAttribution: shadcn at Chapter Three commented@dinmikkith This has not been fixed in the 8.x branch yet. We'll do so today and release a new alpha. Thanks for helping test it.
Comment #13
shadcn CreditAttribution: shadcn at Chapter Three commentedThis is fixed in the latest 8.x-3.0-alpha4 release.
Comment #14
shadcn CreditAttribution: shadcn at Chapter Three commented