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 trialAnusha Lee
Courses Plus Student 14,787 PointsHi I keep getting Error like this: Error: File to import not found or unreadable: base/reset.
Hi everyone! Has anyone encountered this before? This shows up on my style.css and I've checked the imports and I am certain that they are correct. I've been stuck for hours.
/home/treehouse/workspace/scss on line 12 of scss/style.scss
Here it is: https://w.trhou.se/ag13q82rys
Thank you in advance.
1 Answer
Nick Budak
Courses Plus Student 12,149 PointsHi Anusha,
It looks like _base.scss
and _reset.scss
are actually nested inside the components/base
folder in your workspace. Try using
@import 'components/base/reset',
'components/base/base';
Sass import paths are relative to the current file, and your style.scss
is at the same level as the components/
folder.
Anusha Lee
Courses Plus Student 14,787 PointsAnusha Lee
Courses Plus Student 14,787 PointsHi Nick, thank you very much! It works!!!