Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7947 Lượt xem

I have Odoo 10 installed on a CentOS 7 box. I am currently getting the error:

Could not execute command `/usr/local/bin/lessc`

I have installed `less` and the `less-plugin-clean-css`

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

When I try `which lessc` I get:

/usr/local/bin/lessc

I have tried installing and removing the blog module.

I have tried getting in the database and deleting all the assets:

delete from ir_attachment where name like '%asset%';

I have tried rebooting odoo, nginx and the whole server.

The site is basically unusable without the stylesheets. How can I get `lessc` to work on CentOS 7?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

It had something to do with ruby but I never could get it figured out. It turns out that installation and configuration on Ubuntu is about 100x easier than RedHat-based distros, so I just used Ubuntu.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
8
thg 12 23
17482
1
thg 7 18
5265
0
thg 11 18
3816
2
thg 10 18
5024
3
thg 8 16
10225