Apache zeppelin ditches build process in zeppelin-web with gazebo

I am trying to create zeppelin locally with windows and babun / cygwin. This site gave me direction in the right direction, but I ran into the following error when an assembly hits a web app:

[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]

      

I can enter the directory zeppelin-web

and run successfully bower install

, but I'm not sure where to go from here? If I try to do it mvn install -DskipTests

, it tries to run the command again bower

.

If I try to "go" and try to build in ../zeppelin-server

, he says he can't find the dependency zeppelin-web

.

I think I would like to start bower install

manually as suggested on the site above, but I'm not sure where to go from there? Can you pick up mvn

where he is staying? Any help or guidance would be greatly appreciated.

+3


source to share


3 answers


I faced the same problem. First try going to the zeppeling-web component and running the mvn package -DskipTests there. It should give you more details on what's going on:

cd zeppelin-web
mvn package -DskipTests

      

In my case it was an issue with git proxies as I work in a corporate environment. The command is issued on the console:



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

      

did the trick.

+3


source


You need to run the build command with sudo



+2


source


It worked for me: run the following as a non-root user (replace <goals> with your -P and -D flags, or remove for offline installation):

sudo env "PATH=$PATH" mvn clean install <goals> -DskipTests
sudo env "PATH=$PATH" mvn clean install <goals> -DskipTests -rf :zeppelin-web

      

+1


source







All Articles