Hi Guillaume, All the times I have tried to installed it, I observe the same npm errors. I don't think its a network error. As I am new to mac I am not sure if npm needs any additional permission while running.
Thanks, George On Tue, Jun 9, 2015 at 12:21 AM, tog <[email protected]> wrote: > Hi George > > I remember getting the same error on my Mac as well but it vanishes as > well. At that time I suspected a network error preventing the machine to > fetch dependencies. Could it be the same in your case? > > Compiling Zeppelin using sudo is not required as well as not advisable > from my point of view. > > Are you using brew on your machine to install third parties software? > > Cheers > Guillaume > > > On Tuesday, June 9, 2015, George Koshy <[email protected]> wrote: > >> Below are the steps that i followed to install: >> 1. Downloaded the zip from github( >> https://github.com/apache/incubator-zeppelin) and unzipped it. >> 2.Opened the terminal and ran the command mvn install -DskipTests thats >> said in the zeppelin installation docs( >> https://zeppelin.incubator.apache.org/docs/install/install.html) >> 3. After a while I get hundreds of messages that say error , like [ERROR] >> npm http 200 https://registry.npmjs.org/js-yaml/-/js-yaml-2.0.5.tgz , >> etc. I then stopped the build and , >> 4. I deleted the incubator-zeppelin directory unzipped the downloaded zip >> file again and now ran "sudo mvn install -DskipTests" (sorry, I am new >> to the Mac environment) and thats when I get the error mentioned in the >> first thread. >> >> I checked npm and bower are properly installed. >> >> UPDATE: I just tried building again ignoring the error that showed up >> mentioned in step 3. It said BUILD SUCCESS! >> I was successfully able to start zepplin and it works awesome! >> Thanks for the help Damien , >> one more question regarding this step in the installation document. >> Add jars, files >> >> spark.jars, spark.files property in *ZEPPELIN_JAVA_OPTS* adds jars, >> files into SparkContext. for example, >> >> ZEPPELIN_JAVA_OPTS="-Dspark.jars=/mylib1.jar,/mylib2.jar >> -Dspark.files=/myfile1.dat,/myfile2.dat" >> >> Does this above line the method to add custom jars like jodatimedate jars >> etc ? >> >> Thanks again. >> >> >> On Mon, Jun 8, 2015 at 9:59 PM, Corneau Damien <[email protected]> >> wrote: >> >>> Can you try 'mvn package' inside of zeppelin-web folder? >>> If it still show error, you might want to install bower and npm on your >>> mac (if not installed) >>> >>> >>> On Tue, Jun 9, 2015 at 9:58 AM, George Koshy <[email protected]> wrote: >>> >>>> Hi, >>>> My Apache Maven version is 3.3.3 >>>> Maven home: /usr/local/Cellar/maven/3.3.3/libexec >>>> Java version: 1.7.0_79 >>>> Os version: Mac OS X version 10.10.2 >>>> Arch:x86_64 >>>> >>>> >>>> On Jun 8, 2015, at 5:01 PM, Corneau Damien <[email protected]> >>>> wrote: >>>> >>>> Hi, >>>> Can you tell us your version of mvn? >>>> On Jun 9, 2015 4:17 AM, "George Koshy" <[email protected]> wrote: >>>> >>>>> Hello, >>>>> I get a error while building zeppelin on Mac Yosemite. >>>>> The error stack is as follows. >>>>> >>>>> [INFO] BUILD FAILURE >>>>> >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> >>>>> [INFO] Total time: 01:43 min >>>>> >>>>> [INFO] Finished at: 2015-06-08T11:30:35-07:00 >>>>> >>>>> [INFO] Final Memory: 44M/413M >>>>> >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> >>>>> [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] >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>>> the -e switch. >>>>> >>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] For more information about the errors and possible solutions, >>>>> please read the following articles: >>>>> >>>>> [ERROR] [Help 1] >>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] After correcting the problems, you can resume the build with >>>>> the command >>>>> >>>>> [ERROR] mvn <goals> -rf :zeppelin-web >>>>> >>>>> >>>>> -- >>>>> Sincerely! >>>>> George K! >>>>> >>>>> >>> >> >> >> -- >> Sincerely! >> George Koshy, >> Richardson, >> in.linkedin.com/in/gkoshyk/ >> > > > -- > PGP KeyID: 2048R/EA31CFC9 subkeys.pgp.net > -- Sincerely! George Koshy, Richardson, in.linkedin.com/in/gkoshyk/
