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
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
add a comment |
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
I am having the same issue right now, any update on this?
– hallleron
Mar 1 at 7:47
add a comment |
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
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
magento2 frontend less grunt
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
I wouldn't worry that much about those compiling issues, because:
- 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. - If the compile breaks and annoys you check the source file and remove the line or comment it.
- You can always skip the
:documentationin 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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
I wouldn't worry that much about those compiling issues, because:
- 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. - If the compile breaks and annoys you check the source file and remove the line or comment it.
- You can always skip the
:documentationin 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.
add a comment |
I wouldn't worry that much about those compiling issues, because:
- 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. - If the compile breaks and annoys you check the source file and remove the line or comment it.
- You can always skip the
:documentationin 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.
add a comment |
I wouldn't worry that much about those compiling issues, because:
- 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. - If the compile breaks and annoys you check the source file and remove the line or comment it.
- You can always skip the
:documentationin 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.
I wouldn't worry that much about those compiling issues, because:
- 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. - If the compile breaks and annoys you check the source file and remove the line or comment it.
- You can always skip the
:documentationin 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.
answered 8 mins ago
Ezequiel AlbaEzequiel Alba
1189
1189
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
I am having the same issue right now, any update on this?
– hallleron
Mar 1 at 7:47