Grunt compile of LESS fails with Error compiling lib/web/css/docs/source/docs.lesscompile less files with...
Ambiguity in the definition of entropy
Running Low on Limestone
Can we compute the area of a quadrilateral with one right angle when we only know the lengths of any three sides?
How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?
What does the expression "A Mann!" means
How to add frame around section using titlesec?
Determining Impedance With An Antenna Analyzer
Am I breaking OOP practice with this architecture?
How do I gain back my faith in my PhD degree?
If human space travel is limited by the G force vulnerability, is there a way to counter G forces?
How could indestructible materials be used in power generation?
GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?
Which is the best way to check return result?
Is there a hemisphere-neutral way of specifying a season?
iPad being using in wall mount battery swollen
How can saying a song's name be a copyright violation?
Could the museum Saturn V's be refitted for one more flight?
Why doesn't using multiple commands with a || or && conditional work?
Calculating entropy change: reversible vs irreversible process
Venezuelan girlfriend wants to travel the USA to be with me. What is the process?
How would I stat a creature to be immune to everything but the Magic Missile spell? (just for fun)
What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?
Should I tell management that I intend to leave due to bad software development practices?
Forming a German sentence with/without the verb at the end
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 3 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