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

JavaScript

Lots of errors following this video.

The two big errors seem to be:

Error: \`libsass\` bindings not found. Try reinstalling \`node-sass\`?
Error: angular-animate is not installed. Try running \`bower install\`.

This is after cloning the git repo, trying to install Yeoman, and running Gulp to see what happens.

1 Answer

Here's what I did to resolve the problems for the most part:

Yeoman didn't seem to install correctly, so I followed what somebody else suggested and installed "yo" with this command: sudo npm install -g yo

Apparently this is "Yeoman Doctor" and it looked like everything was good after that.

Then I had to install "bower" manually: sudo npm install -g bower

After that, the bower install command worked properly.

Still "libsass" was having problems. I found somebody who recommended removing "gulp-sass" and installing a newer version:

npm uninstall --save-dev gulp-sass

npm install --save-dev gulp-sass@2

Finally after that running gulp finished a build.

Unfortunately, I could not figure out why the fonts were not being processed as shown in the video. It's a problem with the module "main-bower-files" that I couldn't figure out without digging way deeper into bower and the associated tools.

But you can bypass the problem by going to the gulp fonts task in build.js and replacing

'$.mainBowerFiles()'

with

'bower_components/**/*'

That glob will find all the files in the bower_components subfolders and pass them to be filtered by the next command.