Community mailing list archives

Re: Odoo Team: NodeJS, Less, NPM - please communicate clear installation advice

- 10/04/2015 17:27:10

I'm definitely supporting Ermin request: If the nodejs version is old, the lessc version installed won't be accepted by oDoo (the bin file location is not detected by oDoo). And even if we don't see the famous "less is missing" error message anymore, we are not sure that everything is okay; in fact, in our case (working on ubuntu 12 and 14), when installing news addons, we got all sort of lessc error (file missing,...).

So, a clear installation/configuration guide (specially for the NodeJS and Less part) is really needed.



De : Ermin Trevisan <>
À : Community <>
Envoyé le : Dimanche 4 octobre 2015 7h53
Objet : Re: Odoo Team: NodeJS, Less, NPM - please communicate clear installation advice

Thanks Antony, but it is not enough or what I meant exactly, see below:

On 03.10.2015 19:27, Antony Lesuisse wrote:
> For debian:
> # wget -O - | apt-key add -
> # echo "deb ./" >> /etc/apt/sources.list
> # apt-get update && apt-get install odoo
> Should be enough. Can somebody here confirm ?

It is nowhere documented, that nodejs/less/npm is now included in the
installer package, so this should definitely be clearly mentioned. I for
example did use the package installer, but did install nodejs/less/npm
> For other platform or sourcce install it is documented here 
> Check the warning 
> about less:
> In later debian (>jessie) and ubuntu (>14.04) you may need to add a symlink as 
> npm packages call node but debian calls the binary nodejs
> $ apt-get install -y npm
> $ sudo ln -s /usr/bin/nodejs /usr/bin/node

People are using all kind of weird installation scripts and methods for
the source install, so clear requirements definition is a must.
This documentation is not enough, one must know the supported or
required nodejs/less/npm versions. IIRC the nodejs version of Ubuntu
14.04 LTS repository does not work, I know that version 0.10 and 0.12
installed from source definitely work, but I do not know about higher
For the same reason it is good to know what path Odoo expects nodejs,
less and npm to be located.

Thanks, trevi

twanda AG
Ermin Trevisan
Artherstrasse 19
CH-6318 Walchwil
T    +41 41 758 1515
M    +41 79 208 7373
Post to: