tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KaiXu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TEZ-3773) Tez build failed
Date Mon, 26 Jun 2017 05:57:00 GMT
KaiXu created TEZ-3773:
--------------------------

             Summary: Tez build failed
                 Key: TEZ-3773
                 URL: https://issues.apache.org/jira/browse/TEZ-3773
             Project: Apache Tez
          Issue Type: Bug
          Components: UI
    Affects Versions: 0.8.4
            Reporter: KaiXu


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message