Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS to Sass Installing Sass and Setting up the Project Bringing our Sass Project into Workspaces

--watch function

in the Sass into Workspaces, whenever I try to have sass watch, I get this:

treehouse:~/workspace$ sass --watch scss:css

Sass is watching for changes. Press Ctrl-C to stop.
error No such file or directory @ rb_sysopen - scss

help?

3 Answers

Justin Black
Justin Black
24,266 Points

In the video, he's using the folder scss and not sass. In workspaces, check your folder names. Do you have a folder named scss or a folder named sass?

If it's scss you would use:

sass --watch scss:css

If you don't have either of these folders create one by going to New -> New Folder then naming it in the panel on the left hand side. You can name it to sass or scss and it'll function the same.

Shannon Essers
Shannon Essers
2,619 Points

I am also having this problem, I typed in everything the same way in console (sass --watch scss:css) but getting this error:

Sass is watching for changes. Press Ctrl-C to stop. error No such file or directory @ rb_sysopen - scss

Jonatan Spahn
Jonatan Spahn
6,362 Points

I'm also getting the same error.

If anyone is still getting this error, you need to use the 'cd' command to change directories into the project folder ('lake-tahoe').

E.g.:

treehouse:~/workspace$ cd lake-tahoe

Now your path will appear as:

treehouse:~/workspace/lake-tahoe$

You will now be able to run 'sass --watch'