Skip to content

Unable to compile Bootstrap 3.1 #535

Closed

Description

@bluetidepro

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.

Activity

  1. tom-pryor commented on Jan 31, 2014

    @tom-pryor

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

  2. hamtie commented on Feb 10, 2014

    @hamtie

    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.
    
  3. Yahasana commented on Feb 12, 2014

    @Yahasana

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

  4. dleffler commented on Feb 15, 2014

    @dleffler

    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...)

  5. bluetidepro commented on Mar 24, 2014

    @bluetidepro
    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.

  6. changed the title [-]Bootstrap 3.1 Broken[/-] [+]Unable to compile Bootstrap 3.1[/+] on May 26, 2014
  7. Krinkle commented on May 26, 2014

    @Krinkle
    Collaborator

    See issue #503.

  8. Repository owner locked and limited conversation to collaborators on Oct 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions