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

Successfully installed Sass. Error message keeps appearing in terminal.

I can confirm that I have definitely installed Ruby and Sass correctly on my Windows 8.1 system. I'm following the vid, creating a test.scss file in Sublime Text Editor, and testing that the command terminal recognizes it. I keep getting this error message.

http://s27.postimg.org/fc7jlfq37/error.png

What's going wrong here? D:

Apologies if this is a duplicate, but checking past messages under the vid I can't see anyone who has this specific problem.

K thx ~Jay

4 Answers

Looks like test.sass is on your Desktop and you're in your home directory in the terminal. cd Desktop and then run sass again and it should find the file. You may also want to set up a directory in your home directory (C:\Users\Jay) for code projects.

Yes, I noticed I was in the home directory (C:\Users\Jay) but I was uncertain how to get out of it. I tried C:\Users\Jay, I tried C:\Users\Jay>\Desktop (couldn't remove the ">"), I tried ragequitting for a few hours -- nothing worked.

Typed cd Desktop into the terminal and it worked perfectly. Thanks. :D

Pretty sure you just need to watch the test.scss file and it will update as you save. It's been awhile since I've worked with Sass.

sass --watch test.scss

Alexandra Klein
Alexandra Klein
156 Points

I'm having the same problem. Let me know if you've solved it?

Yes, Geoff's solution worked perfectly, see his answer. :D

Alexandra Klein
Alexandra Klein
156 Points

Thanks. I did "cd desktop" but still not finding it. I'll keep at it!

I'll try to elaborate on what Geoff said, if it's unclear.

You need to type cd, followed by whatever directory the files you're working on are in. The command line terminal by default, for me, was set to C:\Users\Jay. The file I wanted to do Sass in was in a file called 'Start' on my desktop.

So, I typed into the command line - after C:\Users\Jay - "cd Desktop" (no quotes)

The command line then displayed C:\Users\Jay\Desktop

To enter the file called 'Start' I typed - after C:\Users\Jay\Desktop - "cd Start" (no quotes)

The command line then displayed C:\Users\Jay\Desktop\Start

So the sass files I was working on would update my css files, I had to further type in "sass -- watch ." (no quotes) after C:\Users\Jay\Desktop\Start

Hope you are no longer confuse. :D