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

Trent Burkenpas
Trent Burkenpas
22,388 Points

can not get sass to work

For some reason my terminal can not find test.sass file. I use a text editor called Komodo edit 8. But i think they don't support sass. So i used sublime edit 2. and it still can not find the file. I use cd desktop, to direct it to the file (still no luck). The file is in a folder, do i need to direct my terminal to the folder?

Hayden Taylor
Hayden Taylor
5,076 Points

Can you post a pic or something of your terminal? It sounds like you didn't change the terminal file location to where test.sass file is.

5 Answers

Wade Christensen
STAFF
Wade Christensen
Treehouse Teacher

If the file is in a folder on your desktop, you need to cd to that folder.

Example:

cd ~/Desktop/directory/test.sass

I haven't used Komodo, but I have used the Aptana IDE quite a bit, and it likes to save files in it's own directories unless told otherwise. You might make sure the file is where you think it is if you started this in Komodo.

Trent Burkenpas
Trent Burkenpas
22,388 Points

Got it working guys. Not really sure how. I restarted everything and told my terminal to look in my desktop and it work lol. thanks for the help!

Trent Burkenpas
Trent Burkenpas
22,388 Points

spoke to soon. it seems to have found the file, but it is not showing the P { color: blue; }

in the terminal :(

Wade Christensen
STAFF
Wade Christensen
Treehouse Teacher

Just to try and narrow it down a bit, you've cd'd to the directory that contains the file, but you don't see the file's contents? Is that right? Are you trying to edit the file in the terminal window with nano or vim, or are you just trying to compile the sass file to css? Also, the file extension should be scss rather than sass (test.scss rather than test.sass); I should have noted this in my code example aboveβ€”sorry.

I hope this helps.

Trent Burkenpas
Trent Burkenpas
22,388 Points

hey, i just figured it out. I just took the file out of the folder and put it on my desktop. Then it worked. Then i downloaded the scout app and it continued to work inside the folder :). Thank you for your time a effort!

Wade Christensen
Wade Christensen
Treehouse Teacher

No problem. Glad you got it working. It sounds like you needed to cd down another directory. Anyway, good luck with your project.