Hi,
i had this problem last week ago.
The problem is, that less in the newest version has a bug at importing other
less files.
With the version 1.2.1 of less everything works fine.
Just uninstall your less version through
npm uninstall <name>
and then install the version 1.2.1 through
npm install <name>@<version>
Then everything should work fine.
I also would propose you to install guard and guard-less
https://github.com/guard
https://github.com/guard/guard-less
It automatically compiles your LESS files if any changes are made to them.
Greetz Christopher
Am 30.10.2012 um 11:25 schrieb Cajus Pollmeier:
Hi,
I'm currently experimenting with the less templates in qooxdoo. What do I have
to do to compile them? According to the documentation there seem to be 3+
options - I've ignored the less.js one so far, but tried the ruby one and the
node one. Both are stacktracing:
$ lessc -version
lessc 1.3.0 (LESS Compiler) [JavaScript]
$ lessc ios.less
TypeError: Object #<Object> has no method 'toCSS'
at /home/cajus/.npm/less/1.3.1/package/lib/less/tree/mixin.js:38:52
at Array.map (native)
at Object.eval
(/home/cajus/.npm/less/1.3.1/package/lib/less/tree/mixin.js:37:54)
at Object.eval
(/home/cajus/.npm/less/1.3.1/package/lib/less/tree/ruleset.js:51:55)
at Object.eval
(/home/cajus/.npm/less/1.3.1/package/lib/less/tree/ruleset.js:63:53)
at Object.toCSS
(/home/cajus/.npm/less/1.3.1/package/lib/less/parser.js:410:44)
at /home/cajus/.npm/less/1.3.1/package/bin/lessc:126:28
at /home/cajus/.npm/less/1.3.1/package/lib/less/parser.js:464:26
at /home/cajus/.npm/less/1.3.1/package/lib/less/parser.js:102:48
at /home/cajus/.npm/less/1.3.1/package/lib/less/index.js:125:17
Any ideas what's wrong? Or is it not intended to work this way?
Thanks!
Cajus
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel