dragonfly
dragonfly

Reputation: 17773

Bootstrap ParseError: Syntax Error on line 648 in mixins.less:648:25 647

After updating to Bootstrap 3.1.0 I get this error when compiling less files:

ParseError: Syntax Error on line 648 in mixins.less:648:25 647

padding-right: (@grid-gutter-width / 2); 648   &:extend(.clearfix all); 649 }

I use recess, version: 1.1.9. How can I solve it ?

Upvotes: 13

Views: 3509

Answers (2)

ticcky
ticcky

Reputation: 688

If you are using grunt-recess, you need to modify it to grunt-contrib-less, according to the release blogpost:

We've switched from Recess to grunt-contrib-less for our compiler, giving us access to Less 1.6.x (as opposed to 1.3.x with Recess).

Upvotes: 8

rikiless
rikiless

Reputation: 174

You have to update less to newer (for Bootstrap 3.1 and newer)

For those who use grunt, there's a magic

npm update --save

If problems with updating npm dependencies see How do I update each dependency in package.json to the latest version?.

Upvotes: 5

Related Questions