Hi Markovich, looks like you have older nodejs < 4 ? can you try updating your nodejs ?
- Jayesh On Wed, Feb 1, 2017 at 5:36 AM, Markovich <[email protected]> wrote: > Hi Eagle users, > > Wanted to try this product, but failed to build version 0.5. > Any ideas? > > =============== Building Web UI =============== > Environment Check... > Environment Check...Pass > npm install... > building... > > > ApacheEagleWebApp@ build /u01/opt/eagle/eagle-server/src/main/webapp/app > > node build/index.js > > Generating resource tree... > > /u01/opt/eagle/eagle-server/src/main/webapp/app/node_ > modules/jsdom/lib/jsdom.js:3 > () => `jsdom 7.x onward only works on Node.js 4 or newer: > https://github.com/t > ^ > SyntaxError: Unexpected token ) > at Module._compile (module.js:439:25) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) > at Function.Module._load (module.js:312:12) > at Module.require (module.js:364:17) > at require (module.js:380:17) > at /u01/opt/eagle/eagle-server/src/main/webapp/app/build/ > index.js:23:12 > at Object.<anonymous> (/u01/opt/eagle/eagle-server/ > src/main/webapp/app/build/index.js:155:3) > at Module._compile (module.js:456:26) > at Object.Module._extensions..js (module.js:474:10) > > npm ERR! ApacheEagleWebApp@ build: `node build/index.js` > npm ERR! Exit status 8 > npm ERR! > npm ERR! Failed at the ApacheEagleWebApp@ build script. > npm ERR! This is most likely a problem with the ApacheEagleWebApp package, > npm ERR! not with npm itself. > npm ERR! Tell the author that this fails on your system: > npm ERR! node build/index.js > npm ERR! You can get their info via: > npm ERR! npm owner ls ApacheEagleWebApp > npm ERR! There is likely additional logging output above. > npm ERR! System Linux 3.8.13-118.8.1.el7uek.x86_64 > npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" > npm ERR! cwd /u01/opt/eagle/eagle-server/src/main/webapp/app > npm ERR! node -v v0.10.30 > npm ERR! npm -v 1.4.21 > npm ERR! code ELIFECYCLE > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! /u01/opt/eagle/eagle-server/src/main/webapp/app/npm-debug.log > npm ERR! not ok code 0 > =============== Failed =============== > > Regards, > Andrey >
