Skip to content

Parse error: failed at &:extend(.clearfix all); #520

Closed
nizsheanez/yii2-asset-converter
#7

Description

@pdias

Hello,

I have this error:

[Exception]                                                                  
  parse error: failed at `&:extend(.clearfix all);` C:/EasyPHP/www/sym/app/..  
  /vendor/twbs/bootstrap/less/mixins.less on line 601

is there any patch for this?

Thanks,

Paulo

Activity

  1. gerob commented on Dec 14, 2013

    @gerob

    I am getting the same error with compiling bootstrap.

  2. marc-j commented on Dec 16, 2013

    @marc-j

    +1

    parse error: failed at `&:extend(.clearfix all);` bootstrap/mixins.less on line 626
    
  3. AltB commented on Dec 17, 2013

    @AltB

    +1

  4. JHernan commented on Dec 18, 2013

    @JHernan

    +1

  5. aleohl commented on Dec 19, 2013

    @aleohl

    +1
    Any progress?

  6. stof commented on Dec 19, 2013

    @stof
    Contributor

    duplicate of #498

  7. hejmsdz commented on Jan 5, 2014

    @hejmsdz

    +1

  8. samward1985 commented on Jan 7, 2014

    @samward1985

    +1

  9. paha77 commented on Jan 10, 2014

    @paha77

    +1

  10. ncmsalzburg commented on Jan 10, 2014

    @ncmsalzburg

    +1

  11. bluetidepro commented on Jan 10, 2014

    @bluetidepro

    Duplicate of #498 - Would love to see this ASAP! 👍

  12. lee-reinhardt commented on Jan 13, 2014

    @lee-reinhardt

    +1

  13. klierik commented on Jan 13, 2014

    @klierik

    +1

    fix found. open file package.json and find same rows:

    ...
    "grunt": "~0.4.2",
    "grunt-contrib-less": "~0.8.3",
    "grunt-contrib-watch": "~0.5.3"
    ...
    

    you need update values.
    Then delete node_modules/ folder and run $ npm install again

  14. ronnorthrip commented on Jan 14, 2014

    @ronnorthrip

    +1

  15. ronnorthrip commented on Jan 14, 2014

    @ronnorthrip

    Was parsing bootstrap's files and it failed on '&:extend(.clearfix all);'

  16. 46 remaining items

  17. greghouston commented on Apr 28, 2014

    @greghouston

    Not everyone is happy with oyejorge/less.php as an option. It is incredibly--outrageously--slow (too slow for development). Once I discovered how slow it was I didn't play with it any futher to see if the adapter allowed for less.inc.php style caching, but the oyejorge caching is a mess with all the files it generates.

  18. juanitourquiza commented on Apr 28, 2014

    @juanitourquiza

    ok then what is your solution?

  19. greghouston commented on Apr 28, 2014

    @greghouston

    Don't have one. Since upgrading to the current version of Bootstrap isn't an immediate concern I'm just crossing my fingers for the time being that out of the 400+ forks that someone willing and capable will pick up the project where it was left off.

  20. stepanselyuk commented on Apr 29, 2014

    @stepanselyuk

    I have a lot of .less files includes bootstrap-3 and others. I didn't see any problems with speed within development process (use OS X, ssd). Also I didn't use the internal caching mechanism of the oyejorge/less.php, and use simply logic: if filemtime of the .less file is higher then cached the .css file, then I need to regenerate the .css file. So within development process I need to regenerate a small portion of changed files. In production mode I don't need regenerate the .css files after program has been generated all possible variants, like change the @basefont depend on current website language.

    On 29 àïð. 2014 ã., at 1:47, Greg Houston [email protected] wrote:

    Not everyone is happy with oyejorge/less.php as an option. It is incredibly--outrageously--slow (too slow for development). Once I discovered how slow it was I didn't play with it any futher to see if the adapter allowed for less.inc.php style caching, but the oyejorge caching is a mess with all the files it generates.

    —
    Reply to this email directly or view it on GitHub.

  21. exaunique commented on May 11, 2014

    @exaunique

    Its obvious that we don't have to rebuild the library again and again, when we install our apps on a production env. So in a way "oyejorge/less" can serve us pretty well.

    "oyejorge/less" however is ridiculous slow in comparison, once your accustomed to leafo's less...

  22. jmontoyaa commented on May 16, 2014

    @jmontoyaa

    This works for me:

    composer.json

    {
        "require": {
            "oyejorge/less.php": "~1.5"
        }
    }
    

    config.yml

    assetic:
    lessphp:
       file: %kernel.root_dir%/../vendor/oyejorge/less.php/lessc.inc.php
       apply_to: "\.less$"
       cssrewrite: ~
    braincrafted_bootstrap:
        less_filter: lessphp
    
  23. hevyweb commented on Jun 13, 2014

    @hevyweb

    Works fine except last 2 lines.

  24. Krinkle commented on Oct 13, 2014

    @Krinkle
    Collaborator

    Duplicate of #498

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions