Odoo中文网|Odoo实施培训
标题:
Odoo9 Could not execute command lessc 报错解决方案
[打印本页]
作者:
南帝
时间:
2015-8-27 17:24
标题:
Odoo9 Could not execute command lessc 报错解决方案
OpenERP 的运行环境 odoo 8也能跑, 在跑odoo 9 的时候.页面报错:
Odoo9 Could not execute command lessc
解决方法:
1)安装nodejs
wget -qO-
https://deb.nodesource.com/setup
| bash -
apt-get install -y nodejs
如果是 ubuntu (>14.04) 需要创建一个链接:
sudo ln -s /usr/bin/nodejs /usr/bin/node
2)安装npm
apt-get install -y npm
3)通过npm 安装 less
sudo npm install -g less less-plugin-clean-css
4)reboot
欢迎光临 Odoo中文网|Odoo实施培训 (http://www.chinaodoo.net/)
Powered by Discuz! X3.2