Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile Bootstrap 3.1 #535

Closed
bluetidepro opened this issue Jan 30, 2014 · 6 comments
Closed

Unable to compile Bootstrap 3.1 #535

bluetidepro opened this issue Jan 30, 2014 · 6 comments
Labels

Comments

@bluetidepro
Copy link

Bootstrap 3.1.0 was released today: http://blog.getbootstrap.com/2014/01/30/bootstrap-3-1-0-released/

The current version of lessphp can't compile this because of "extend", here is the error"

lessphp fatal error: parse error: failed at "&:extend(.clearfix all);" bootstrap-less/mixins.less on line 648

This is related to issue #498 on supporting "Extend". It looks like this is a big issue now.

@tom-pryor
Copy link

+1 Issue has been around for months now, see #498 and #520

@hamtie
Copy link

hamtie commented Feb 10, 2014

Using grunt-recess,

     Warning: Running "recess:dist" (recess) task
    >> Parser error in app/bower_components/bootstrap/less/mixins.less
    >>      648.   padding-right: (@grid-gutter-width / 2);
    >>      649.   &:extend(.clearfix all);
    >>      650. }
    Warning:  Use --force to continue.

@Yahasana
Copy link

ILess contains a lot of code with poor performance. it uses sprintf to concatenate two string all around, that's very ridiculous.

@dleffler
Copy link

Though not well documented, there is a lessphp wrapper included with https://github.com/oyejorge/less.php named less.inc.php which makes less.php a drop-in replacement for lessphp (though a bit slower esp. with extends). It fit my needs with very little editing required except my needing to make some of my code more conformant to later versions of less.js (e.g., using variables with @import, etc...)

@bluetidepro
Copy link
Author

To everyone, I'm going to go ahead and close this issue because it's getting annoying with all the "+1"s. As mentioned plenty of times before, leafo is no longer supporting this repo.

If you want a good alternative, then I would reccomend using less.php by oyejorge. it's works great with Bootstrap 3.1 and is a very active repo.

@Krinkle Krinkle reopened this May 26, 2014
@Krinkle Krinkle added the bug label May 26, 2014
@Krinkle Krinkle changed the title Bootstrap 3.1 Broken Unable to compile Bootstrap 3.1 May 26, 2014
@Krinkle Krinkle added duplicate and removed bug labels May 26, 2014
@Krinkle
Copy link
Collaborator

Krinkle commented May 26, 2014

See issue #503.

@Krinkle Krinkle closed this as completed May 26, 2014
Repository owner locked and limited conversation to collaborators Oct 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants