Gazebo | Ignition | Community
Ask Your Question
0

gzweb deploy error on ubuntu 14.04

asked 2017-09-22 08:22:02 -0600

alicanuzunn gravatar image

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..

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-23 11:23:05 -0600

chapulina gravatar image

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.

edit flag offensive delete link more

Comments

I've tried all combinations of nodejs and gzweb, still couldn't solve the issue.

alicanuzunn gravatar imagealicanuzunn ( 2017-09-28 06:44:12 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-09-22 08:22:02 -0600

Seen: 324 times

Last updated: Sep 23 '17