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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Scss: command not found

Started by Laurent 8 years ago · 3 replies · 6377 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 Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago