Grunt compile of LESS fails with Error compiling lib/web/css/docs/source/docs.lesscompile less files with grunt don t work!errors with EXEC commandHow to compile gallery and calendar css with grunt?Problem with extending Luma theme using Grunt with LessSyntaxError: Cannot read property 'numerator' of undefined in pubstaticfron packagethemeen_UScsssourcelib_responsive.lessGrunt watch doesn't watch _theme.less and custom less fileHow does Magento 2 work with CSS grunt-autoprefixer(Magento2) Grunt Less problem with a new themeGrunt, .less, and Live Reload - Can't get them working::after behaviour with lib-cssGrunt CSS compile has stopped working

Should I tell management that I intend to leave due to bad software development practices?

Detention in 1997

I would say: "You are another teacher", but she is a woman and I am a man

Alternative to sending password over mail?

What is the most common color to indicate the input-field is disabled?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

What is a romance in Latin?

Determining Impedance With An Antenna Analyzer

Plagiarism or not?

One verb to replace 'be a member of' a club

Can my sorcerer use a spellbook only to collect spells and scribe scrolls, not cast?

Madden-Julian Oscillation (MJO) - How to interpret the index?

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

Can I run a new neutral wire to repair a broken circuit?

How do I deal with an unproductive colleague in a small company?

What is the idiomatic way to say "clothing fits"?

Is it inappropriate for a student to attend their mentor's dissertation defense?

Is it acceptable for a professor to tell male students to not think that they are smarter than female students?

How dangerous is XSS?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Can compressed videos be decoded back to their uncompresed original format?

Does the Idaho Potato Commission associate potato skins with healthy eating?

Forming a German sentence with/without the verb at the end

Short story with a alien planet, government officials must wear exploding medallions



Grunt compile of LESS fails with Error compiling lib/web/css/docs/source/docs.less


compile less files with grunt don t work!errors with EXEC commandHow to compile gallery and calendar css with grunt?Problem with extending Luma theme using Grunt with LessSyntaxError: Cannot read property 'numerator' of undefined in pubstaticfron packagethemeen_UScsssourcelib_responsive.lessGrunt watch doesn't watch _theme.less and custom less fileHow does Magento 2 work with CSS grunt-autoprefixer(Magento2) Grunt Less problem with a new themeGrunt, .less, and Live Reload - Can't get them working::after behaviour with lib-cssGrunt CSS compile has stopped working













5















I'm hoping to get some advice. I pulled a project that I haven't touched in some time and in developer mode I ran 'grunt exec' followed by 'grunt less' and once running 'grunt less' I receive the following error. Magento 2.2.6



Running "less:documentation" (less) task




NameError: .lib-url-check is undefined in lib/web/css/docs/source/_utilities.less on line 402, column 5:
401 // "Call" the mixin
402 .lib-url-check(@_icon-image);
403 Warning: Error compiling lib/web/css/docs/source/docs.less Use --force to continue.





Aborted due to warnings.


The code for around line 401:



.example-url-check-false 
// Set usage image path to false
@_icon-image: false;

// "Call" the mixin
.lib-url-check(@_icon-image);

// Will return 'false' and outputs nothing
.lib-css(background, #eee @lib-url-check-output no-repeat 0 0);



This file is an unmodified core file, how do I go about debugging the cause of this issue/resolve.



I'd appreciate any help I can receive.



Thanks!










share|improve this question






















  • I am having the same issue right now, any update on this?

    – hallleron
    Mar 1 at 7:47















5















I'm hoping to get some advice. I pulled a project that I haven't touched in some time and in developer mode I ran 'grunt exec' followed by 'grunt less' and once running 'grunt less' I receive the following error. Magento 2.2.6



Running "less:documentation" (less) task




NameError: .lib-url-check is undefined in lib/web/css/docs/source/_utilities.less on line 402, column 5:
401 // "Call" the mixin
402 .lib-url-check(@_icon-image);
403 Warning: Error compiling lib/web/css/docs/source/docs.less Use --force to continue.





Aborted due to warnings.


The code for around line 401:



.example-url-check-false 
// Set usage image path to false
@_icon-image: false;

// "Call" the mixin
.lib-url-check(@_icon-image);

// Will return 'false' and outputs nothing
.lib-css(background, #eee @lib-url-check-output no-repeat 0 0);



This file is an unmodified core file, how do I go about debugging the cause of this issue/resolve.



I'd appreciate any help I can receive.



Thanks!










share|improve this question






















  • I am having the same issue right now, any update on this?

    – hallleron
    Mar 1 at 7:47













5












5








5


2






I'm hoping to get some advice. I pulled a project that I haven't touched in some time and in developer mode I ran 'grunt exec' followed by 'grunt less' and once running 'grunt less' I receive the following error. Magento 2.2.6



Running "less:documentation" (less) task




NameError: .lib-url-check is undefined in lib/web/css/docs/source/_utilities.less on line 402, column 5:
401 // "Call" the mixin
402 .lib-url-check(@_icon-image);
403 Warning: Error compiling lib/web/css/docs/source/docs.less Use --force to continue.





Aborted due to warnings.


The code for around line 401:



.example-url-check-false 
// Set usage image path to false
@_icon-image: false;

// "Call" the mixin
.lib-url-check(@_icon-image);

// Will return 'false' and outputs nothing
.lib-css(background, #eee @lib-url-check-output no-repeat 0 0);



This file is an unmodified core file, how do I go about debugging the cause of this issue/resolve.



I'd appreciate any help I can receive.



Thanks!










share|improve this question














I'm hoping to get some advice. I pulled a project that I haven't touched in some time and in developer mode I ran 'grunt exec' followed by 'grunt less' and once running 'grunt less' I receive the following error. Magento 2.2.6



Running "less:documentation" (less) task




NameError: .lib-url-check is undefined in lib/web/css/docs/source/_utilities.less on line 402, column 5:
401 // "Call" the mixin
402 .lib-url-check(@_icon-image);
403 Warning: Error compiling lib/web/css/docs/source/docs.less Use --force to continue.





Aborted due to warnings.


The code for around line 401:



.example-url-check-false 
// Set usage image path to false
@_icon-image: false;

// "Call" the mixin
.lib-url-check(@_icon-image);

// Will return 'false' and outputs nothing
.lib-css(background, #eee @lib-url-check-output no-repeat 0 0);



This file is an unmodified core file, how do I go about debugging the cause of this issue/resolve.



I'd appreciate any help I can receive.



Thanks!







magento2 frontend less grunt






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 '18 at 21:11









RobRob

369112




369112












  • I am having the same issue right now, any update on this?

    – hallleron
    Mar 1 at 7:47

















  • I am having the same issue right now, any update on this?

    – hallleron
    Mar 1 at 7:47
















I am having the same issue right now, any update on this?

– hallleron
Mar 1 at 7:47





I am having the same issue right now, any update on this?

– hallleron
Mar 1 at 7:47










1 Answer
1






active

oldest

votes


















0














I wouldn't worry that much about those compiling issues, because:



  1. Is for the own lib built on Magento documentation pages. lib/web/css/docs/. Check that you have built HTML pages with 'How to' stuff.

  2. If the compile breaks and annoys you check the source file and remove the line or comment it.

  3. You can always skip the :documentation in grunt by being specific on your compiles.

There is a slight chance that the new upgrades changed some of the docs libraries and they forgot to update some of the mixins properly.





share























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f250880%2fgrunt-compile-of-less-fails-with-error-compiling-lib-web-css-docs-source-docs-le%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I wouldn't worry that much about those compiling issues, because:



    1. Is for the own lib built on Magento documentation pages. lib/web/css/docs/. Check that you have built HTML pages with 'How to' stuff.

    2. If the compile breaks and annoys you check the source file and remove the line or comment it.

    3. You can always skip the :documentation in grunt by being specific on your compiles.

    There is a slight chance that the new upgrades changed some of the docs libraries and they forgot to update some of the mixins properly.





    share



























      0














      I wouldn't worry that much about those compiling issues, because:



      1. Is for the own lib built on Magento documentation pages. lib/web/css/docs/. Check that you have built HTML pages with 'How to' stuff.

      2. If the compile breaks and annoys you check the source file and remove the line or comment it.

      3. You can always skip the :documentation in grunt by being specific on your compiles.

      There is a slight chance that the new upgrades changed some of the docs libraries and they forgot to update some of the mixins properly.





      share

























        0












        0








        0







        I wouldn't worry that much about those compiling issues, because:



        1. Is for the own lib built on Magento documentation pages. lib/web/css/docs/. Check that you have built HTML pages with 'How to' stuff.

        2. If the compile breaks and annoys you check the source file and remove the line or comment it.

        3. You can always skip the :documentation in grunt by being specific on your compiles.

        There is a slight chance that the new upgrades changed some of the docs libraries and they forgot to update some of the mixins properly.





        share













        I wouldn't worry that much about those compiling issues, because:



        1. Is for the own lib built on Magento documentation pages. lib/web/css/docs/. Check that you have built HTML pages with 'How to' stuff.

        2. If the compile breaks and annoys you check the source file and remove the line or comment it.

        3. You can always skip the :documentation in grunt by being specific on your compiles.

        There is a slight chance that the new upgrades changed some of the docs libraries and they forgot to update some of the mixins properly.






        share











        share


        share










        answered 8 mins ago









        Ezequiel AlbaEzequiel Alba

        1189




        1189



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f250880%2fgrunt-compile-of-less-fails-with-error-compiling-lib-web-css-docs-source-docs-le%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

            Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

            Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»