Public bug reported: The hashbang line of /usr/bin/lessc is wrong, causing the execution of "lessc" to fail with bash: /usr/bin/lessc: /usr/bin/nodejs: bad interpreter: No such file or directory
node-less depends on the nodejs package, which ships the node binary as /usr/bin/node, not as /usr/bin/nodejs However, both changing the hashbang line to #!/usr/bin/node or creating a nodejs symlink in /usr/bin just causes an error to be thrown by lessc: kai@:~$ lessc module.js:340 throw err; ^ Error: Cannot find module 'less' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/usr/bin/lessc:9:12) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: node-less 1.4.2-1 ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20 Uname: Linux 3.13.0-55-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.1-0ubuntu3.11 Architecture: amd64 CurrentDesktop: XFCE Date: Tue Jul 7 12:29:50 2015 Dependencies: nodejs 0.10.36 [origin: unknown] PackageArchitecture: all SourcePackage: less.js UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: less.js (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1472215 Title: node-less fails to run To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/less.js/+bug/1472215/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs