Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Scss: command not found

Started by Laurent 8 years ago · 3 replies · 6500 views
8 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 ?

8 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
8 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 Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago