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 trialPhil White
Courses Plus Student 9,519 PointsNeed help with setting up Sass
Hi everyone,
I'm trying to set up sass on windows and got to the stage where you put Desktop$ sass test.scss in the command prompt but when i do that it comes up with
'desktop$' is not a recognized as an internal or external command, operable program or batch file.
or when i just put sass test.scss i get this error message
Errno::ENOENT: No such file or directory - test.scss use --trace to backtrace.
Where am i going wrong?
2 Answers
Ron McCranie
7,837 PointsI don't think you use Desktop$
in the command line. I think that is telling you what directory/folder you're in. You probably just need to us the sass test.scss
portion.
Phil White
Courses Plus Student 9,519 PointsYeah i tried that but then i get this error message:
Errno::ENOENT: No such file or directory - test.scss use --trace to backtrace.
Ron McCranie
7,837 PointsI didn't see that on your post the first time I read it, sorry. Are you trying to compile the Sass to CSS? If so, I think you have to specify both the input file and the output file: sass test.scss > test.css
Of course I'm just trying to take a quick shot at it. I typically use a GUI based tool to compile my Sass on file save like HammerForMac or CodeKit
Phil White
Courses Plus Student 9,519 PointsI'm not sure what we are meant to be doing I've just started doing this tutorial:
http://teamtreehouse.com/library/sass-basics/getting-started-with-sass/installing-and-using-sass-2
and got stuck at the very start. I tried putting in what you said but still getting the same error
Fran M
20,141 PointsHave you also installed Ruby linked from Sass's website [ http://sass-lang.com/install ] right side of page website under bold header title Linux there is in bold print a Windows disclaimer in print :
"Before you start using Sass you will need to install Ruby. The fastest way to get Ruby on your Windows computer is to use Ruby Installer. It's a single-click installer that will get everything set up for you super fast. The installer will also install a Ruby command line powershell application that will let you use the Ruby libraries."
http://www.rubyinstaller.org/ hope that helps?
Phil White
Courses Plus Student 9,519 PointsPhil White
Courses Plus Student 9,519 PointsDone it! Thanks for you help. if anyone comes across this problem on windows you have to save your files directly to C:\Users\"your username">