odoo10 debian 8.4 Could not execute command lessc

来源:互联网 发布:统一网络加速器 编辑:程序博客网 时间:2024/06/10 03:31

   装完odoo10,在浏览器访问,出现Could not execute command lessc错误,先前的版本是装过的,按原先的文档在安装的过程中,提示有版本问题。装完果然不能用。

于是,根据先前文档的链接:$ wget -qO- https://deb.nodesource.com/setup | bash - ,访问: https://deb.nodesource.com,发现跳转到了nodejs托管主机github上,根据下面的文档选择,安装了nodejs, 其中已经包含了npm,不用象原先一样再安装npm.

  再安装less.  

    npm install -g  less

   npm install -g less-plubin-clean-css.

  很顺利的完成了, 执行lessc命令,正常。再在浏览器中访问odoo,一切OK.

阅读全文
0 0
原创粉丝点击