Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Scss: command not found

Started by Laurent 9 years ago · 3 replies · 6828 views
9 years ago

Hello,

I feel dumb: I try to create/modify my own theme, but I can't compile any css.

I use the scss.sh script, but I always end up with a scss: command not found error message.

Of course I already did install sass: I tried using npm globally, then falled back to homebrew in order to speed up everything, as recommended by the sass install page.

Anyway, Sass is installed

TXT
$ which sass
/usr/local/bin/sass

and seems up-to-date

TXT
$ sass --version
1.3.2

but it seems there is no scss command anywhere.

TXT
$ which scss
scss not found

What did I miss ?

9 years ago

HI I had the same problem a few month ago
FYI this will install scss

BASH
npm install -g bower
bower install css-calc-mixin --save (--allow-root if necessary)
which scss
9 years ago

Thank you @ryan !

But I really wonder if I have to install a deprecated tool in order to access this binary, it sound weird to me…

7 years ago

Sorry for reviving this old thread, but for the record, it is not necessary that the scss command be available: if sass is installed and available, you can use that instead.

So rather than running scss --watch scss:css-compiled (which is the sole content of the scss.sh script), you can run sass --watch scss:css-compiled.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago