Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.8.4
-
None
-
None
Description
tez build failed on both Ubuntu14.04 and CentOS, with root or other users:
> tez-ui@0.2.0 build:mvn /home/xuk1/sourceCode/apache-tez-0.8.4-src/tez-ui2/src/main/webapp
> TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
/home/xuk1/sourceCode/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_modules/ember-cli-moment-shim/node_modules/broccoli-stew/lib/mv.js:3
const Funnel = require('broccoli-funnel');
^^^^^
Use of const in strict mode.
/home/xuk1/sourceCode/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_modules/ember-cli-moment-shim/node_modules/broccoli-stew/lib/mv.js:3
const Funnel = require('broccoli-funnel');
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/xuk1/sourceCode/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_modules/ember-cli-moment-shim/node_modules/broccoli-stew/index.js:2:7)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
npm ERR! Linux 4.4.0-75-generic
npm ERR! argv "/home/xuk1/sourceCode/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/node" "/home/xuk1/sourceCode/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/npm/bin/npm-cli" "run" "build:mvn"
npm ERR! node v0.12.2
npm ERR! npm v2.15.3
npm ERR! code ELIFECYCLE
npm ERR! tez-ui@0.2.0 build:mvn: `TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tez-ui@0.2.0 build:mvn script 'TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod'.
npm ERR! This is most likely a problem with the tez-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tez-ui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls tez-ui
npm ERR! There is likely additional logging output above.
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (ember build) on project tez-ui2: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]