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 Sass Basics Getting Started with Sass Compiling Sass to CSS

sass input.scss output.css error

I have installed sass using sudo gem install sass. That worked. Then I typed sass input.scss output.css and got this error:

Errno::ENOENT: No such file or directory - input.scss

3 Answers

David Kanwisher
David Kanwisher
9,701 Points

When typing "sass input.scss output.css", you are required to navigate to the directory where your input.scss file is.


If you know you are in the correct directory, you may want to verify that you file name matches the first sass parameter

"sass yourFileName.scss whatEverYouWishToCallIt.css" The first param expects your input file that A. exists in the current directory and B. Has the same name The second param will create an output file with the name that you give it.

Dave StSomeWhere
Dave StSomeWhere
19,822 Points

You probably either have to navigate to the directory where input.scss is located or provide the path.

Thank you for your replies! Very much appreciated. I figured it out.