Community mailing list archives

community@mail.odoo.com

Re: odoo9 node.js / clean-css problem

by
Atul
- 10/01/2015 07:46:03
Hello Bharat,

can you try this step :


sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install nodejs
sudo npm install -g less-plugin-clean-css less

Thanks
Atul

On Thursday 01 October 2015 05:11 PM, Bharat Devnani wrote:
<blockquote cite="mid:CA+CYr0aBpb5-SX5BgLc7VcTbJkR13-B77nJv8k8x0gRzGeQvrA@mail.gmail.com" type="cite">
No, not working for me with the provided steps, can yo provide some extra information on the same.

On Thu, Oct 1, 2015 at 11:28 AM, Shivam Goyal <shivam1111@gmail.com> wrote:
I faced the same problem while installing Odoo 9 and creating symlink it did not work so i followed the following steps and documented them for myself

Install node-less --> sudo apt-get install node-less

Now add this in the environment

Goto terminal into your home folder of user 


Type -> type -p lessc

You will get a path -> in my case -> /usr/bin/lessc


sudo gedit .bashrc

Add the following

export PATH="/usr/bin/lessc:$PATH"

Now in the terminal type -> source .bashrc

On Thu, Oct 1, 2015 at 11:59 AM, Richard Achatz <info@richardachatz.de> wrote:

Hi ray,
thanks . I've symlinked my nodejs dir to /usr/lib/nodejs but still get the error.

The message tells me the error is happening in module.js, but i cant find such file on the complete server.

can anybody explain this?
How to debug node.js

Rich

Am 1. Oktober 2015 03:07:53 MESZ, schrieb Ray Carnes <ray.carnes@bistasolutions.com>:

package - /usr/lib/nodejs/less

 

compiler - /usr/bin/lessc

 

 

From: Richard Achatz [mailto:info@richardachatz.de]
Sent: Wednesday, September 30, 2015 2:53 PM
To: Community <community@mail.odoo.com>
Subject: RE: odoo9 node.js / clean-css problem

 

hi ray,

Its me again. Where is your node-less installation located? Mine is in /usr/lib/node_modules/less/
the compiler is here /usr/bin/lessc
Perhaps here is a symlink missing?

Rich

Am 30. September 2015 23:03:41 MESZ, schrieb Ray Carnes <ray.carnes@bistasolutions.com>:

How did you install less?

 

I do it like this:

 

sudo apt-get install node-less

sudo apt-get install npm

sudo npm install -g less less-plugin-clean-css

sudo ln -s /usr/bin/nodejs /usr/bin/node

 

Ray.

 

 

From: Richard Achatz [mailto:info@richardachatz.de]
Sent: Wednesday, September 30, 2015 1:04 PM
To: Community <community@mail.odoo.com>
Subject: odoo9 node.js / clean-css problem

 

hi community,

 

i get the error
"
Error cannot find the module 'clean-css'
"

 

on client side. server output prints no errors

 

can anybody help?

 

richard
Email sent using Axigen Free Mail
Server:
http://www.axigen.com/mail-server/free

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe