Hi Naveen, Do you have multiple versions of npm/node on your machine? If so you could use n or nvm and fix up on one version.
As another suggestions, please remove the node_modules folder from zeppelin-web, and followed by *npm clear cache* and *npm install* As Damien mentioned earlier, please post what's the output of ./grunt build. Thanks, Rohit On Tue, Oct 27, 2015 at 11:38 AM, Corneau Damien <[email protected]> wrote: > Hi naveen > What does './grunt build' command in zeppelin-web is giving you? > > On Mon, Oct 26, 2015 at 9:34 PM, naveen xavier <[email protected]> > wrote: > >> Hi Rohit, >> >> Thank you so much for your quick response. >> >> Did exactly as you suggested and successfully installed npm inside >> zeppelin-web folder. Now when I give the command: *npm -v* >> I get: *1.4.21* >> >> However the command: *mvn package* >> within the zeppelin-web folder gives the same grunt build error: >> *'grunt --no-color' failed. (error code 3).* >> I also again tried the command: *mvn package -DskipTests* from >> incubator-zeppelin folder and received the same error!!! >> >> Also went through your trail mail with Pablo who has been graduating to >> new problems but my error message has just not changed. I have tried every >> possible combination and end up with the same grunt error. Please help. >> >> >> >> >> On Mon, Oct 26, 2015 at 11:20 PM, rohit choudhary <[email protected]> >> wrote: >> >>> Hi Naveen, >>> >>> Can you run npm install inside you /zeppelin-web/ directory? If that is >>> successful you can run - mvn package -Dskiptest -Phadoop-2.3 -Ppyspark (or >>> whatever else you want to configure your zeppelin with). You might be >>> missing on some npm libraries. >>> >>> Thanks, >>> Rohit >>> >>> On Mon, Oct 26, 2015 at 11:00 PM, naveen xavier <[email protected] >>> > wrote: >>> >>>> >>>> Hi, >>>> >>>> My configuration is as follows: >>>> Ubuntu 15.04 >>>> Spark 1.4.1 >>>> Hadoop 2.7 >>>> Maven 3.3.3 >>>> >>>> I am trying to install Apache Zeppelin using the following command >>>> >>>> mvn clean package -DskipTests >>>> >>>> Despite several attempts, I am getting the following error. >>>> >>>> [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 >>>> >>>> Regards, >>>> >>>> Naveen Xavier >>>> -- >>>> Regards, >>>> >>>> Naveen Xavier >>>> >>>> >>>> >>> >> >> >> -- >> Regards, >> >> Naveen Xavier >> >> >> >
