我的Gruntfile.coffee
有:
recess:
dist:
options:
compile: true
includePath: ['public/bower_components/bootstrap-less/less']
src: 'dist/assets/ln.css'
dest: 'public/stylesheets/ln.less'
我的ln.less
非常简单:
@import "../bower_components/bootstrap-less/less/bootstrap.less";
当我grunt recess
时,我得到:
Running "recess:dist" (recess) task
Verifying property recess.dist exists in config...OK
Files: public/stylesheets/ln.less -> dist/assets/ln.css
Options: banner="", compress=false, footer="", compile, includePath=["public/bower_components/bootstrap-less/less"]
>> Parser error in public/bower_components/bootstrap-less/less/mixins.less
>> 643. padding-right: (@grid-gutter-width / 2);
>> 644. &:extend(.clearfix all);
>> 645. }
Warning: Use --force to continue.
Aborted due to warnings.
我做错了什么?