I installed sidr with bower, but when I try to run gulp, it breaks and outputs the following error
bower_components/sidr/src/scss/sidr/_base.scss
Error: File to import not found or unreadable: compass/css3
on line 1 of bower_components/sidr/src/scss/sidr/_base.scss
>> @import 'compass/css3';
^
I looked, and this compass/css3 file does not exists. _base.scss is the only file in that directory. Is there a fix for this that won't get over written whenever bower updates?
Not sure what you're using it with, but I'm trying to get it working with WordPress/Sage and found this link.
Basically:
npm install compass-mixins --save-devin your theme directory. (See Edit 1 Below)cssTasks-includePathssection of yourgulpfile.jsto point to the location of the compass folder eg:'./node_modules/compass-mixins/lib'Hope that helps!
Caveat
While that fixed the error for not finding the compass/css3 folder, I am now getting these warnings:
It also seems to be causing issues with uglify-js because I could run
gulpfine before bower installing sidr.Will update as I progress.
EDIT 1
After reading this, I uninstalled the
npm compass-mixinspackage and installed viabowerand changed the path in thegulpfile.jsaccordingly.The Warnings for PIE are gone. Still experiencing issues with
uglify-jsthough.EDIT 2
Ran
npm install gulp-utiland set up the gulpfile to output more info on the error.