insatll this required packges
sudo apt-get install python-dev python3-dev libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev build-essential libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev
sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less
if still not then istall libass packge as well
pip3 install libsass==0.12.3
11 答案
I installed Odoo 18 with PyCharm the normal way I used to, then I got the error. I struggled for many days uninstalling and Installing different packages without any success. Then I deleted the databse through the odoo database manager and recreated it, and everything started working.
So I know this doesn't seem right, but I ran into the same problem and tried to fix for hours. I ended up deleting my DB and started again. Loaded my first page and it STILL was throwing the style error. I literally did a hard refresh (Ctrl+F5) and it loaded. Not joking!
Hi,
Have you ensured that all your addon paths are correctly specified in the configuration file? The error suggests that Odoo might not be able to access the files in the specified addons directory. Could you please double-check the addon paths in the Odoo configuration file?
I am having the same issue. here is a screenshot of my odoo window. There is no custom code in the repo yet. also my odoo log stays empty upon running.

Here is a screenshot of my ide log: (its empty)

Any ideas on how to fix this?
Hi,
You can try reloading the asset bundles using the activate developer mode (with assets) option from settings.

if that doesn't work, try upgrading the base module.
Hope it helps
I did not create any custom module in which I can share the code I have set up a fresh version of Odoo 17 and after successfully completing installation I am getting this error.
This is the error on the browser,
The style compilation failed, see the error below. This is an administrator or developer error that must be fixed for the entire database before continuing working.
Installing odoo 17: https://www.youtube.com/watch?v=sEQXJ_JHyMg