T
T
Test Test2015-01-04 11:22:39
Grunt.js
Test Test, 2015-01-04 11:22:39

How to solve Grunt-sass issue when compiling Bourbon and Neat?

Hello, such a problem. My Node.JS project has Grunt, which compiles SASS (SCCS) files. Today I needed to install Bourbon and Neat (this is a responsive grid on SASS - neat.bourbon.io ).
1. I download to public/vendor/ with the command

~ bower install bourbon
~ bower install neat

Everything downloaded well.
2. I embed import in my .sccs file
@import "../../vendor/bower_components/bourbon/app/assets/stylesheets/bourbon";
@import '../../vendor/bower_components/neat/app/assets/stylesheets/neat';

3. I try to run Grunt
grunt default
and I get an error:
Running "sass:dist" (sass) task
Warning: /test-nodejs/public/vendor/bower_components/bourbon/app/assets/stylesheets/css3/selection:4: error reading values ​​after @if
Use --force to continue.

Tried updating grunt-sass packages, and in general all project packages, didn't help. What could be the problem? Has anyone experienced this? Thanks for the answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2015-01-05
@cubooks

I use Compass, the paths are not fully specified. I think this is your problem.

@import "compass";
@import "compass/reset";
@import "breakpoint";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question