Hoon Park created ZEPPELIN-1942:
-----------------------------------
Summary: frontend-maven-plugin doesn't support npm scripts
Key: ZEPPELIN-1942
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1942
Project: Zeppelin
Issue Type: Bug
Components: build
Reporter: Hoon Park
Even we installed node 6.9.1, {{yarn run build}} tried to use 0.10.x
{code}
[ERROR] npm ERR! node -v v0.10.36
[ERROR] npm ERR! npm -v 1.4.28
{code}
{code}
[ERROR] npm ERR! [email protected] lint:js: `eslint src test Gruntfile.js`
[ERROR] npm ERR! Exit status 8
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] lint:js script.
[ERROR] npm ERR! This is most likely a problem with the zeppelin-web package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! eslint src test Gruntfile.js
[ERROR] npm ERR! You can get their info via:
[ERROR] npm ERR! npm owner ls zeppelin-web
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR] npm ERR! System Linux 4.8.12-040812-generic
[ERROR] npm ERR! command "/home/travis/.nvm/v0.10.36/bin/node"
"/home/travis/.nvm/v0.10.36/bin/npm" "run" "lint:js"
[ERROR] npm ERR! cwd /home/travis/build/apache/zeppelin/zeppelin-web
[ERROR] npm ERR! node -v v0.10.36
[ERROR] npm ERR! npm -v 1.4.28
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR!
[ERROR] npm ERR! Additional logging details can be found in:
[ERROR] npm ERR!
/home/travis/build/apache/zeppelin/zeppelin-web/npm-debug.log
[ERROR] npm ERR! not ok code 0
[ERROR] ERROR: "lint:js" exited with 1.
[ERROR] error Command failed with exit code 1.
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.3:yarn (yarn build) on project
zeppelin-web: Failed to run task: 'yarn run build' failed. (error code 1) ->
[Help 1]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)