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 (retired) Getting Started with Sass Installing and Using Sass

Stacey Baldini
Stacey Baldini
5,276 Points

Sass test.scss

Hi there -

So, I just successfully installed Sass on my Mac. I created a test.scss file and saved it to my desktop and typed in "sass test.scss" into the command line, but an error comes up saying no such file or directory is found. To make sure Sass installed properly, I typed in "sass -v" and sure enough, "Sass 3.3.8 (Maptastic Maple)" returns. Any clue as to why this error is showing up?

Thanks!

Stacey Baldini
Stacey Baldini
5,276 Points

I think I may have found the answer. I typed in the entire document path and it returned with nothing (like it should have). Just wondering - why did the instructor not have to do the same? He just had to like "sass test.scss".

Ah well, hope maybe this helps someone...

2 Answers

Jeffrey Wambugu
Jeffrey Wambugu
8,548 Points

Hi, as you are working in the terminal unless you change directories you always start at the root the instructor might have already switched directories to where he is working on I think there is another tutorial that has the same problem or maybe it is this one just watch out for that.

Stacey Baldini
Stacey Baldini
5,276 Points

Thanks! I figured it was something like that.