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

Sophia Sundance
Sophia Sundance
1,300 Points

Problems to render SASS in the console

Hi everybody,

If I want to use "sass --watch" but there occurs an error message.

My files are sorted in the following Structure:

CSS/style.css

and

SCSS/utilities/_functions.scss

Now I want to watch the: _functions.scss

I wrote in to the console:

sass --watch SCSS/utilities/_functions.scss:CSS/style.css

Got the error message: error No such file or directory @ rb_sysopen - SCSS/util

What did I wrong?

2 Answers

Sophia Sundance Is that your full error message? If so, it seems that its looking inside of SCSS/util instead of SCSS/utilities. Are you sure you typed out "utilities" when you ran the sass --watch command? The error is telling you that whatever file or folder name you are using when you are attempting to watch your sass does not exist. Is there any way you can include a snapshot of the issue along with your file names? It is hard to be certain without more information. The first thing I would check is whether or not there's a typo in your command or your folder/file names. Let me know!

Sophia Sundance
Sophia Sundance
1,300 Points

Thank you! I tried to use several folders and several files, no of them worked. How can I include a snap shoot here in treehouse?

Sophia Sundance There should be an option in the workspace. I've personally never done it, but I believe this video may help: https://teamtreehouse.com/library/previews-and-snapshots