From e04b0e1e0a5f7194eefcc029bc6ffad2e1f8a12a Mon Sep 17 00:00:00 2001 From: Yenthe Date: Mon, 21 Dec 2015 08:36:21 +0100 Subject: [PATCH] Add symlink for nodejs Add a symlink for the system to know which NodeJs it should take (see http://stackoverflow.com/questions/26320901/cannot-install-nodejs-usr-bin-env-node-no-such-file-or-directory) --- odoo_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/odoo_install.sh b/odoo_install.sh index ad7ba0a..c7657ad 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -72,6 +72,9 @@ sudo apt-get install node-clean-css -y sudo apt-get install node-less -y sudo apt-get install python-gevent -y +echo -e "\n--- Create symlink for node" +sudo ln -s /usr/bin/nodejs /usr/bin/node + #-------------------------------------------------- # Install Wkhtmltopdf if needed #--------------------------------------------------