Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Scss: command not found

Started by Laurent 8 years ago · 3 replies · 6622 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 webmasterodp, 7 days ago
4 151 6 days ago
Support · by nwhitfield, 1 week ago
2 131 1 week ago
Support · by stell, 3 weeks ago
5 364 2 weeks ago
Support · by gravinator, 1 month ago
5 556 2 weeks ago
Support · by Gravver, 3 weeks ago
6 344 3 weeks ago