Apache Zeppelin 安装 grunt 构建错误 [英] Apache Zeppelin installation grunt build error
问题描述
我的配置如下:
Ubuntu 15.04
Java 1.7
Spark 1.4.1
Hadoop 2.7
Maven 3.3.3
我正在尝试从 github 成功克隆 Apache Zeppelin 并使用以下命令安装它
I am trying to install Apache Zeppelin after successfully cloning it from github and using the following command
mvn clean package -DskipTests
尽管进行了多次尝试,但在初步成功后仍出现以下错误:
Despite several attempts, I am getting the following error after some initial success:
[ERROR] 无法执行目标com.github.eirslett:frontend-maven-plugin:0.0.23:grunt (grunt build)在 zeppelin-web 项目上:无法运行任务:'grunt --no-color'失败的.(错误代码 3)-> [帮助 1]
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:grunt (grunt build) on project zeppelin-web: Failed to run task: 'grunt --no-color' failed. (error code 3) -> [Help 1]
任何帮助将不胜感激.提前致谢
Any help will be highly appreciated. Thanks in advance
问候,
纳文泽维尔
推荐答案
它因为 karma:test 在 PhantomJS 上失败而失败.从 zeppelin-web 文件夹内的 Gruntfile.js 中删除 karma 测试.为我工作.
It fails because of a karma:test fails on PhantomJS. Remove the karma test from Gruntfile.js inside zeppelin-web folder. Worked for me.
这篇关于Apache Zeppelin 安装 grunt 构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!