* Thomas PIERSON <[email protected]> [2011-02-22 17:48]:
> Package: libnode-less
> Version: 1.0.40~6b8a5c-3
> Severity: important
>
> Hi,
>
> I try to use 'lessc' compiler but I got an error :
>
> $ lessc style.less > style.css
> /usr/bin/env: node: No such file or directory
>
> I did not find any docs in this package.
> Something is missing to make it works?
The path to nodejs is wrong and the lessc compiler work from the command
line. The patch attached below fixes the problem.
At any rate, the issue on the executable name for nodejs seems to be
quite convoluted, see Bugs #611657 and #611698.
Best regards,
Rafael Laboissiere
P.S.: The patch does not work for version 1.0.41~0d9575-1 in
experimental, which depends on nodejs 0.2.6, whose executable is
/usr/bin/node.
--- a/bin/lessc
+++ b/bin/lessc
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/env nodejs
var path = require('path'),
fs = require('fs'),