LESS compile error

3 replies · opened Jun 7, 2016

CcadilhacJun 7, 2016

I'm using a server side engine to compile LESS (through Cassette in an asp.net MVC application).
I get this error:

Error compiling /Content/css/less/blog.less
variable @width is undefined on line 65 in file 'mixins':
[64]: .blog-grid-builder(@container, @columns, @margin);
[65]: width: @width;
--------^
[66]: }
from line 266 in file '
/Content/css/less/blog.less':
[266]: .blog-grid-item-width(1140px; 4; @blog-4-margin);

Any idea about it?

SSemicolon WebSTAFFJun 9, 2016

Hello,

We have just checked out the LESS Files and tried to compile it and it appears to be working fine for us. Please make sure that the LESS Engine you are using is above v2.1.

This should automatically fix your issue. Let us know if we can help you with anything else or if you find any further issues.

CcadilhacJun 9, 2016

I think the engine I'm using is 1.x compatible... Seems I'm stuck because dotless is the only engine that I know for .Net.

SSemicolon WebSTAFFJun 13, 2016

Hello,

We Really Apologize about this but we currently support only the Latest Versions of LESS as it is more Flexible and Reliable. Please consider compiling the LESS Files manually. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard