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/nodemodules/node- gyp/nodemodules/request/nodemodules/hawk/nodemodules/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.
(/home/sanallab/gzweb/nodemodules/node-gyp/nodemodules/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/nodemodules/node-gyp/nodemodules/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..
Asked by alicanuzunn on 2017-09-22 08:22:02 UTC
Answers
This could be a mismatch between the GzWeb version and the Node version. If you have Nodejs <= 0.10, be sure to use either GzWeb branch gzweb_1.2.0
(for gazebo < 7.0) or branch gzweb_1.3.0
for gazebo >= 7.
Asked by chapulina on 2017-09-23 11:23:05 UTC
Comments
I've tried all combinations of nodejs and gzweb, still couldn't solve the issue.
Asked by alicanuzunn on 2017-09-28 06:44:12 UTC
Comments