gzweb deploy error on ubuntu 14.04
I am using gzweb in one of my ubuntu machine. I am now trying to install it on a virtual machine using virtualbox, with the same ubuntu image. I am facing with an error, and I tried everything in the troubleshooting section in gazebosim.org/gzweb. The error that I am facing is:
Linking CXX executable gzcoarse
[100%] Built target gzcoarse
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@0.10.48 | linux | x64
/home/sanallab/gzweb/node_modules/node- gyp/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
const Hoek = require('hoek');
^^^^^
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack SyntaxError: Use of const in strict mode.
gyp ERR! stack at Module._compile (module.js:439:25)
gyp ERR! stack at Object.Module._extensions..js (module.js:474:10)
gyp ERR! stack at Module.load (module.js:356:32)
gyp ERR! stack at Function.Module._load (module.js:312:12)
gyp ERR! stack at Module.require (module.js:364:17)
gyp ERR! stack at require (module.js:380:17)
gyp ERR! stack at Object.<anonymous> (/home/sanallab/gzweb/node_modules/node-gyp/node_modules/request/node_modules/hawk/lib/index.js:5:33)
gyp ERR! stack at Module._compile (module.js:456:26)
gyp ERR! stack at Object.Module._extensions..js (module.js:474:10)
gyp ERR! stack at Module.load (module.js:356:32)
gyp ERR! System Linux 3.13.0-132-generic
gyp ERR! command "node" "/home/sanallab/gzweb/node_modules/.bin/node-gyp" "configure"
gyp ERR! cwd /home/sanallab/gzweb/gzbridge
gyp ERR! node -v v0.10.48
gyp ERR! node-gyp -v v3.6.2
gyp ERR! This is a bug in
node-gyp
.gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/nodejs/node-gyp/issues
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@0.10.48 | linux | x64
gyp ERR! build error
gyp ERR! stack Error: You must run
node-gyp configure
first!gyp ERR! stack at /home/sanallab/gzweb/node_modules/node-gyp/lib/build.js:49:20
gyp ERR! stack at /home/sanallab/gzweb/node_modules/node-gyp/node_modules/graceful-fs/graceful-fs.js:78:16
gyp ERR! stack at fs.js:208:20
gyp ERR! stack at Object.oncomplete (fs.js:108:15)
gyp ERR! System Linux 3.13.0-132-generic
gyp ERR! command "node" "/home/sanallab/gzweb/node_modules/.bin/node-gyp" "build" "-d"
gyp ERR! cwd /home/sanallab/gzweb/gzbridge
gyp ERR! node -v v0.10.48
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Any help would be appreciated. Thanks..