Community mailing list archives

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

Ermin Trevisan
- 10/04/2015 02:51:17
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