安装zeppelin时构建失败

时间:2016-12-06 09:12:47

标签: maven npm apache-zeppelin

安装zeppelin时出现此错误

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm build) on project zeppelin-web: Failed to run task: 'npm run build' failed. (error code 1) -> [Help 1]

我正在使用以下命令设置zeppelin

mvn clean package -Pcassandra-spark-1.5 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests

我的maven版本详情

    Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: /usr/local/apache-maven-3.3.9
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-31-generic", arch: "amd64", family: "unix"

我被困在这里超过一天。升级的maven,使用干净安装而不是干净的包,升级npm,仍然得到相同的错误。我正在使用  npm version: 3.10.9

编辑: 通过在zeppelin-web中运行npm run build,我收到了以下错误

    npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v7.2.0
npm ERR! npm  v4.0.3
npm ERR! code ELIFECYCLE
npm ERR! zeppelin-web@0.0.0 build: `grunt build`
npm ERR! Exit status 3
npm ERR! 
npm ERR! Failed at the zeppelin-web@0.0.0 build script 'grunt build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the zeppelin-web package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     grunt build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs zeppelin-web
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls zeppelin-web
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/zeppelin/zeppelin-web/npm-debug.log

EDIT2: 使用incubator-zeppelin代替git clone https://github.com/apache/zeppelin.git解决了问题 Thnaks

任何帮助都将受到赞赏!!

1 个答案:

答案 0 :(得分:0)

您正在构建哪个版本的Apache Zeppelin版本?

recent master以及0.6分支的前端构建中已经解决了一个错误,因此请确保您使用的是最新资源。

获取前端构建的详细输出的最佳方法是手动在npm run build中执行zeppelin-web并使用npm构建日志更新帖子。