gpt4 book ai didi

odoo-9 - 当我安装 odoo V9 时,它说我, "Could not execute command ' lessc'”?

转载 作者:行者123 更新时间:2023-12-02 05:20:44 25 4
gpt4 key购买 nike

当我尝试安装 odoo_v9 时,它成功安装,并创建了它也创建的演示数据库,但安装演示数据库后,它给我错误,如“无法执行命令'lessc'”....

提前致谢。

最佳答案

几乎每次全新安装 Odoo 时都会出现此错误。(特别是 Ubuntu 12.04)

  1. First run these three commands in your terminal.
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
  1. Then you install nodejs:
sudo apt-get install nodejs
  1. You can then check version of nodejs using:
node -v
  1. It should be at least greater than > 0.10
npm -v

应返回至少 > 1.4 的版本

  1. Then finally execute the following command, whick will update npm to a newer version as well as install the less plugin:
sudo npm install -g npm
sudo npm install -g less less-plugin-clean-css

关于odoo-9 - 当我安装 odoo V9 时,它说我, "Could not execute command ' lessc'”?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35020432/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com