Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
6 Trả lời
10640 Lượt xem
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Its solved by using,

sudo pip3 install -r requirements.txt

Thanks for help.

Ảnh đại diện
Huỷ bỏ

I'm facing the same problem, but this didn't solve it. I'm using Linux Mint 18.2 and the installed sassc version is 0.12.3. I think it's outdated but can't figure out how to force an upgrade

Câu trả lời hay nhất

Hello Odooers,

It will helpful for SASS related issue,

First try this:

sudo npm install -g less less-plugin-clean-css
sudo pip3 install libsass==0.12.3

Note: if not work above step then follow bellow steps

1) cd /usr/local/lib/
sudo git clone https://github.com/sass/sassc.git --branch 3.4.2 --depth 1
sudo git clone https://github.com/sass/libsass.git --branch 3.4-stable --depth 1
sudo git clone https://github.com/sass/sass-spec.git --depth 1

2)
echo 'SASS_LIBSASS_PATH="/usr/local/lib/libsass"' | sudo tee -a /etc/environment

source /etc/environment

3)
sudo make -C libsass

4)
sudo make -C sassc
sudo make -C sassc install

5) Restart Odoo

I hope it will work


Thanks and regards

Haresh Kansara

Ảnh đại diện
Huỷ bỏ

It works in odoo 15ce when I faced this issue while migrating v13 to v15.
Thanks

Câu trả lời hay nhất

Hi,

Install the package libsaas.


Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

I have already installed libsaas, but still this error.

When you get this error?

Check the runbot and see whether you can reproduce the error in it