Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
i installed odoo v9 in ubuntu 12.04
used .deb file for odoo installation
after that odoo theme not render properly and it give following error
/usr/bin/env : node: No such file or directory in ovoo v9
after i follow this question
and give command
ln -s /usr/bin/nodejs /usr/bin/node
so it gives following error
This error occured while compiling the bundle 'web.assets_backend' containing:
i check for nodejs version is
nodejs -v it return v0.10.25
how can i solve this error
See https://www.odoo.com/forum/help-1/question/9-0-cluttered-user-web-interface-problems-with-nodejs-npm-and-less-91647 for help to properly install nodejs and less.
The link in the previous answer is 404 here's what I found that worked for me on Ubuntu 14.04. I copy and pasted the steps one at a time to get things working.
The NodeJS and NPM packages in the Ubuntu 14.04 repository can not be used because they are outdated.
Follow the instructions from the NodeJS Website:
curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash -
sudo apt-get install -y nodejs
sudo npm install -g npm
Then install Less and accessories:
sudo npm install -g less less-plugin-clean-css
As you can see, I install version 0.10 of the deb and not anything else.
Option 1 mention in the following link worked for me.
Use apt-get to install the build-essential package:
sudo apt-get install build-essential checkinstall
Employ a similar process to get libssl-dev:
sudo apt-get install libssl-dev
You can install and update Node Version Manager, or nvm, by using cURL:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
You will be asked to close and reopen the terminal. To verify that nvm has been successfully installed after you reopen the terminal, use:
command -v nvm
That command will output nvm if the installation worked.
To download, compile and install the latest version of Node:
nvm install 5.0
In any new shell, you’ll need to tell nvm which version to use:
nvm use 5.0
To set a default Node.js version to be used in any new shell, use the alias default:
nvm alias default node
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/5/15, 4:07 AM|
|Seen: 3068 times|
|Last updated: 6/9/16, 8:22 AM|