使用凉亭的 zeppelin-web 中的 Apache zeppelin 构建过程失败 [英] Apache zeppelin build process failure in zeppelin-web with bower

查看:37
本文介绍了使用凉亭的 zeppelin-web 中的 Apache zeppelin 构建过程失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 windows 和 babun/cygwin 在本地构建 zeppelin.这个网站让我朝着正确的方向前进,但是当构建到 Web 应用程序时我遇到了以下错误:

I am trying to build zeppelin locally with windows and babun/cygwin. This site got me headed in the right direction, but I run into the following error when the build gets to Web Application:

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:bower (bower install) on project zeppelin-web: Failed to run task: 'bower --allow-root install' failed. (error code 8) -> [Help 1]

我可以进入 zeppelin-web 目录并成功运行 bower install,但我不确定从哪里开始?如果我尝试执行 mvn install -DskipTests,它会再次尝试运行 bower 命令.

I can go into the zeppelin-web directory and run bower install successfully, but I'm not sure where to go from here? If I try to do mvn install -DskipTests, it tries to run the bower command again.

如果我尝试继续前进"并尝试在 ../zeppelin-server 下构建,它会说它找不到 zeppelin-web 依赖项.

If I try to "move on" and attempt to build under ../zeppelin-server it will say that it can't find the zeppelin-web dependency.

我想我想手动运行 bower install,正如上面网站所建议的那样,但我不知道从哪里开始?是否可以从它停止的地方拿起 mvn ?任何帮助或指导将不胜感激.

I think I would like to run bower install manually, as suggested by the site above, but I'm not sure where to go from there? Is it possible to pick up mvn where it left off? Any help or guidance would be greatly appreciated.

推荐答案

我遇到了同样的问题.首先尝试转到 zeppeling-web 组件并在那里运行 mvn package -DskipTests.它应该为您提供有关失败内容的更多详细信息:

I ran into the same problem. First try to go to the zeppeling-web component and run there mvn package -DskipTests. It should give you more details about what is failing:

cd zeppelin-web
mvn package -DskipTests

就我而言,这是 git 代理的问题,因为我在公司环境中工作.在控制台,发出命令:

In my case it was a problem with git proxies, since I am working in a corporate environment. At the console, issuing the command:

git config --global url."https://".insteadOf git://

成功了.

这篇关于使用凉亭的 zeppelin-web 中的 Apache zeppelin 构建过程失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆