Hii,
Ensure Node.js and lessc are installed correctly
Odoo uses Node.js and lessc (LESS compiler) to process styles.
➤ Steps:
-
Install Node.js (if not installed)
Download and install from: https://nodejs.org/en/download
-
Open terminal (CMD or PowerShell) and run:
npm install -g less less-plugin-clean-css
This installs:
-
lessc → LESS compiler
-
less-plugin-clean-css → Odoo needs this to compile styles
-
Confirm it's installed:
lessc --version
You should see something like: lessc 4.x.x
2. Clear Odoo Assets & Restart Server
After fixing Node.js/LESS:
-
Delete the .assets cache:
C:\workspace\18\odoo\odoo\addons\web\static\lib
or if you're not sure, just delete this folder inside your Odoo project:
<your_odoo_instance>\.webassets-cache
-
Restart your Odoo server:
python odoo-bin -c odoo.conf -u web --dev=all
Use --dev=all to force asset recompilation.
i hope it is usefull
Start with checking your log files. Stop your Odoo service, start it again and read the log output from the beginning.