compiler fail on less compiling dotles umbraco
See original GitHub issueerror message
Expected ‘}’ but found ‘{’ on line 44 in file ‘mixins.less’: [43]: @property: extract(@properties, @i); [44]: @{arguments}: red; –^ [45]:
code:
@colors: @theme-1-chery, @theme-2-chery, @theme-3-chery;
@names: theme-1, theme-2, theme-3;
@length: length(@names);
.build-theme-property(@properties;@value;@i) when (@i > 0) {
.build-theme-property(@properties;@value;(@i - 1));
@property: extract(@properties, @i);
@{property}: @value;
}
.build-theme(@names;@colors;@index;@properties;@prop-num ) when (@index > 0) {
.build-theme(@names;@colors;(@index - 1);@properties;@prop-num); // decrement.
@name: extract(@names, @index);
@color: extract(@colors, @index);
body.@{name} &{
.build-theme-property(@properties; @color; @prop-num);
}
}
I can figure out if this error message or feature issue because it works when i compile it with winless compiler
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
sudden compilation error - General
Message: The compiler failed with error code 128. ... Umbraco itself is compiled, unless you're running the source on the server (bad idea!...
Read more >less dynamic compiler in Umbraco 7.2.8
I'd like to pre-compile less every time I save the less file or as soon as I hit a compile button? I'm not...
Read more >less dynamic css compiler not working - Bug reports
Hi Jeremy,. Less Dynamic CSS Compliler seems not working on version Umbraco 7.3.x and 7.4.x. I have just tried more times but i...
Read more >an error occurred during the compilation
Please review the following specific error details and modify your source code appropriately. One or more compilation references may be missing.
Read more >using less with umbraco cloud
I found a simple solution - I downloaded the "web compiler" VS extension by Mads Kristiansen. Added a less file. When I change...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So yeah, it took a while because I’ve entirely forgotten how my AppVeyor setup actually works. Anyway, the nuget is up now, so feel free to test it out:
http://www.nuget.org/packages/dotless/1.5.3-beta1
It’s still a prerelease, but if nothing seems to blow up in the next few days, I think I’m going to pull the trigger and release it as 1.5.3.
I think the winless compiler uses less.js, which is the reference implementation, so this is probably a missing feature or a bug in dotless.
Can you post a complete minimal example I could try this out with?