This error occurs almost every time a new installation of Odoo. (Especially with Ubuntu 12.04)
- 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
- Then you install nodejs:
sudo apt-get install nodejs
- Then you can check the nodejs version using:
node -v
- It must be at least greater than> 0.10
npm -v
Must return a version of at least> 1.4
- Then finally run the following command: whick will upgrade npm to a newer version and also install a smaller plugin:
sudo npm install -g npm sudo npm install -g less less-plugin-clean-css
source share