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

Issues with Command Line

Has anyone else ran into issues with the command line and trying to get it to point to the .scss file? I've set up sass, but as the video says, I type 'sass test.scss' but I get a message in the command line that says: Errno::ENOENT: No such file or directory - main.scss Use --trace for backtrace.

And I type everything the instructor types in the .scss file and the command line updates some times but not often, it doesn't display what I wrote in .scss into the.css file.

2 Answers

James Barnett
James Barnett
39,199 Points

Sounds like you have a path issue.

In your command line, make sure you have moved into that folder where you have your main.scss file, you can do a ls command, to see if you see your test file

Well, I go it to work but it takes about two minutes or more to run the command. I ended up using Codekit for this Sass lesson..kinda forgot I had it until recently. heh. Thanks for your help though James!

James Barnett
James Barnett
39,199 Points

I recommend everyone use an app like Codekit or Scout or Prepros there are a few of them these days.

Yeah, Codekit is amazing. The auto page refresh is nice.

i had the same problem, i put all files on desktop, and still have a syntex error where the file name was within the content of text editor. Such as, I saved text.scss file name and when i use sublime editor, i have to remember to remove text of file name that is automatic inserted in scss file when you save. Im also, having problems with sass --watch . not updating my changes to my text.scss file into my text.css file.