Tuesday, December 3, 2019

Could not execute command lessc

After fresh installation of odoo11 its raising error due to missing less packages. Follow below steps to solve issue.



sudo apt-get install nodejs nodejs-legacy node-less
sudo apt-get install npm
sudo npm install -g less
sudo npm install -g less-plugin-clean-css
sudo ln -s /usr/local/bin/lessc /usr/bin/lessc
sudo ln -s /usr/bin/nodejs /usr/bin/node

Restart odoo service end enjoy...



No comments:

Post a Comment