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 trialMatthew Wierciak
Courses Plus Student 404 PointsNeed help with Sass on windows.
Errno::ENOENT: No such file or directory - test.scss use --trace for backtrace.
3 Answers
Tom Bedford
15,645 PointsHi Matthew, have you navigated to the folder containing your css in command prompt? e.g. cd documents/websites/mysite/css
Sharon Smith
8,747 PointsOK, after some poking around, I realize that Tom did say how to do it, I just didn't recognize it, 'cause-as I said- ages since I've dealt with a command line & so, basically clueless. Also, on a Windows PC, you have to use the backslash instead of the forward slash. (And if you're using Notepad, you have to change the encoding to UTF-8 rather than ANSI for the computer to recognize the file as a scss) So, for the fully clueless, at the prompt type, "cd C:(insert address of folder here)" The cd stands for "change directory". I was in C:\Users\Sharon when I opened the command prompt window, which is a couple folders up from where I wanted to be, so I could just type: "cd My Documents\Downloads\Treehouse Files\Sass" & there I was. Typing "cd C:\Users\Sharon\My Documents\Downloads\Treehouse Files\Sass" would also have worked but the first couple folders are redundant since that's where I was to begin with. Does that make sense? Sometimes I think the hardest part of dealing with Windows is that it's not always very good about telling you what directory you're actually in or making it look like the folder is in one directory when it's really in another.
If you're also command-line clueless, you might want to take the first section of the Console Foundations Course linked to in the Teacher's Notes, <a href="http://teamtreehouse.com/library/console-foundations-2#getting-started-with-the-console">Getting Started with the Console</a> It's got the basics of dealing with a command line and what the commands are & such. I found it very helpful in trying to figure out just what it was that I was doing.
Sharon Smith
8,747 PointsIt would be helpful to explain how exactly one does that. Honestly, I haven't had to deal with a command prompt system of any sort for at least 15 years & I got the same error as the OP. So, I can see where it would help to make sure Sass was looking in the right place but no idea what commands I'd need to type or steps to take that would change the directory or do much of anything else.
Maybe there should be a quick "How to deal with command prompts 101" bit somewhere at the beginning of the Sass Basics class? Or a "What to do if this doesn't work? file? The exercise is supposed to tell us if Sass is working & if it doesn't work, all we know is that something's messed up with no idea how to fix it.