lessc screams with many compile errors

85 views
Skip to first unread message

jarek_bolo

unread,
Nov 24, 2010, 6:15:40 PM11/24/10
to Centage!
I gave up after fixing these errors:
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Syntax Error: on line 125: expected one of , ; } got ( after:

.col-nogut-first-last(@col_count:1, @padd_v:0, @padd_h:0) {
@col-halfgut-width:((@col1_gut * @col_count) + (@gut * (@col_count))
- (@padd_h * 2%));
width: @col-halfgut-width - (0.5 * @gut);
*width: @col-halfgut-width - -

bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Mixin Name Error: .clear in .h-navi is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Mixin Name Error: .clear in .h-navi is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @min-width in #grid_wrapper is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @min-width in #grid_wrapper is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @min-width in #grid_wrapper is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @min-width in #grid_wrapper is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @min-width in #grid_wrapper is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @max-width in #wrap is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @min-width in #wrap is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @line in h2 is undefined.
bolo@asus:~/Dane/www/cud-natury/public_html/css$ lessc
homepage_screen.less
! Variable Name Error: @linepx in * is undefined.


Or maybe I have something wrong with my setup ??

Greetings
Jarek

jussijoo

unread,
Nov 26, 2010, 11:29:40 AM11/26/10
to Centage!
Hi Jarek,

This is not expected. Is this error displayed in the browser? Or did
you try to compile less in terminal?

Although at Centage website I claim that it could be converted to CSS
with terminal, it clearly doesn't. I admit not testing it before.
Clearly less.js has more evolved syntax and is not fully compatible
with less.

So forget about compiling less in terminal (if that's what you tried)
and instead either compile it with less.app http://incident57.com/less/
or maybe give Dotless a try http://www.dotlesscss.org/.

If you'd like to, I can take a look at your setup.

- Jussi
Reply all
Reply to author
Forward
0 new messages