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

Calvin Maighan
Calvin Maighan
12,061 Points

Why Does the map-get function in my "Poly Ui-Kit" give me a Sass Error?

So I've been following the Modular CSS with Sass playlist and once I completed it I downloaded the Poly Ui-Kit from GuilH off github. The problem i'm having is that whenever I run Sass Watch and try to save a new change in my scss folder, it gives me an error that says:

../functions:20: argument '$map' of 'map-get($map, $key)' must be a map.

I'm not sure exactly what this means, but I didn't modify anything from the original download so I'm surprised it isn't working for me.

What version of Sass are you using?

Calvin Maighan
Calvin Maighan
12,061 Points

Nevermind, turns out i was using grunt-sass, which uses libsass... Basically it's version 3.0 or something which didn't have it so I had to switch to the grunt-contrib-sass which uses 3.3 I believe :)