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 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,793 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'