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 Sass Basics Improve Your Workflow with Sass Extend Placeholder Selectors

Sam Weeks
seal-mask
.a{fill-rule:evenodd;}techdegree
Sam Weeks
Front End Web Development Techdegree Student 16,699 Points

not working any suggestions?

I can only assume the scss isn't compiling the code sure to this error message however I have no idea how to amend this . can anyone help? Below is what popped up.

treehouse:~/workspace$ sass --watch sass:css                                      
>>> Sass is watching for changes. Press Ctrl-C to stop.                           
      error No such file or directory @ rb_sysopen - sass                         
Errno::EISDIR: Is a directory @ rb_sysopen - css                                  
  Use --trace for backtrace.                                                      
treehouse:~/workspace$ sass style.scss style.css                                  
Errno::ENOENT: No such file or directory @ rb_sysopen - style.s                   
  Use --trace for backtrace.                                                      
treehouse:~/workspace$   

1 Answer

So if you made the same directories(folders) that were created in the video tutorial, you'll notice that they were named "scss" and "css". In your command you are trying to reference a folder called sass and compile it to the css folder... Therefore it's throwing an error saying the "sass" directory doesn't exist. So instead of "sass --watch sass:css" your code should actually say "sass --watch scss:css".

Sam Weeks
seal-mask
.a{fill-rule:evenodd;}techdegree
Sam Weeks
Front End Web Development Techdegree Student 16,699 Points

thank you :) I actually deleted a file in the end that had a little bit of information in including the @rb_sysoppen. After that the sass --watch command worked; however, I assume I corrected myself as you suggested without realising. I'm now wandering if I actually needed that file or not but all the code seems to work fine. Thank you for getting back to me :)