Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS to Sass Installing Sass and Setting up the Project The --watch Command

Kylen Ford
Kylen Ford
76 Points

Help! Why am I getting this error message (using linux)? -bash: /usr/bin/sass: No such file or directory

when I try the command: $ sass --watch scss:css -bash: /usr/bin/sass: No such file or directory

but when I ask: $ whereis sass sass: /usr/local/bin/sass

What's happening?

3 Answers

Hi Kylen,

Sounds like it could be a path issue. What happens when you enter

```echo $PATH

on the command line?  You might try adding it if it doesn't exist:

export PATH="/usr/local/bin:$PATH"

Then you'll want to enter 

source .bashrc (or .bash_profile)

on the command line to update the file.  

Best,
Cena
Kylen Ford
Kylen Ford
76 Points

Thanks so much for answering this!

when I enter echo $PATH I get: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/bin:/usr/local/bin

:(

I don't have much experience working in my console. The export PATH command will let me modify the path? Thanks, Kylen

Kylen Ford
Kylen Ford
76 Points

What should it return when I enter echo $PATH on the command line?

Kylen Ford
Kylen Ford
76 Points

I got it working, thanks for your help.

Hey Kylen - sorry for the delay getting back to you, but glad you got it working! Would you mind sharing what fixed things for you?

Kylen Ford
Kylen Ford
76 Points

I think it was your instructions that worked!