I was able to see the earlier phantomjs error on a new vm and resolve it by installing libfontconfig. Can you check if "fontconfig" package is installed or not? sudo apt-get install fontconfig
Thanks & Regards, RK On Tue, Oct 27, 2015 at 2:28 PM, rohit choudhary <[email protected]> wrote: > Naveen, > > Looks like there's some issue with your NodeJS installation. I looked up > some links, there was a breaking change in the package manager, and I think > this would work for you sudo apt-get install nodejs-legacy. > > > http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu > > Thanks, > Rohit. > > On Tue, Oct 27, 2015 at 1:02 PM, naveen xavier <[email protected]> > wrote: > >> Hi Renjith, >> >> Did as you suggested, it seems to already exist >> >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> Note, selecting 'libfontconfig1' instead of 'libfontconfig' >> libfontconfig1 is already the newest version. >> The following packages were automatically installed and are no longer >> required: >> libarmadillo4 libarpack2 libdap11 libdapclient3 libepsilon1 libfreexl1 >> libgdal1h libgeos-3.4.2 libgeos-c1 libhawtjni-runtime-java >> libhdf4-0-alt libhdf5-8 libjansi-java libjansi-native-java libkml0 >> libmysqlcppconn7 libnetcdfc7 libodbc1 libogdi3.2 libopenjp2-7 >> libpq5 libproj0 libspatialite5 liburiparser1 libvsqlitepp3 >> libxerces-c3.1 linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic >> linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic >> mysql-utilities mysql-workbench-data odbcinst odbcinst1debian2 >> proj-bin proj-data python-mysql.connector python-pexpect python-pyodbc >> python-pysqlite2 scala-library >> Use 'apt-get autoremove' to remove them. >> 0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded. >> >> Any reason libfontconfig1 needs to be replaced??? >> >> >> >> On Tue, Oct 27, 2015 at 12:55 PM, Renjith Kamath < >> [email protected]> wrote: >> >>> Hey Naveen, >>> >>> The issue is in PhantomJs dep. Please try "sudo apt-get install >>> libfontconfig" >>> >>> >>> Thanks & Regards, >>> RK >>> >>> On Tue, Oct 27, 2015 at 12:32 PM, naveen xavier <[email protected] >>> > wrote: >>> >>>> Hi Corneau & Rohit, >>>> >>>> Just as suggested I did a ./grunt in the zeppelin-web folder. It ran >>>> successfully and then prompted to use the following command as the module >>>> is missing: >>>> >>>> install karma-phantomjs-launcher --save-dev >>>> >>>> On attempting to install the same I received the following error: >>>> >>>> > [email protected] install >>>> /usr/local/incubator-zeppelin/zeppelin-web/node_modules/phantomjs >>>> > node install.js >>>> >>>> sh: 1: node: not found >>>> npm WARN This failure might be due to the use of legacy binary "node" >>>> npm WARN For further explanations, please read >>>> /usr/share/doc/nodejs/README.Debian >>>> >>>> npm ERR! [email protected] install: `node install.js` >>>> npm ERR! Exit status 127 >>>> npm ERR! >>>> npm ERR! Failed at the [email protected] install script. >>>> npm ERR! This is most likely a problem with the phantomjs package, >>>> npm ERR! not with npm itself. >>>> npm ERR! Tell the author that this fails on your system: >>>> npm ERR! node install.js >>>> npm ERR! You can get their info via: >>>> npm ERR! npm owner ls phantomjs >>>> npm ERR! There is likely additional logging output above. >>>> >>>> npm ERR! System Linux 3.19.0-30-generic >>>> npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" >>>> "karma-phantomjs-launcher" "--save-dev" >>>> npm ERR! cwd /usr/local/incubator-zeppelin/zeppelin-web >>>> npm ERR! node -v v0.10.25 >>>> npm ERR! npm -v 1.4.21 >>>> npm ERR! code ELIFECYCLE >>>> npm ERR! >>>> npm ERR! Additional logging details can be found in: >>>> npm ERR! /usr/local/incubator-zeppelin/zeppelin-web/npm-debug.log >>>> npm ERR! not ok code 0 >>>> >>>> I read in some post that the temp files of phantomjs could create a >>>> problem, so I deleted the same... but got the same error. I am now trying >>>> to build phantomjs from source after cloning it from github. >>>> >>>> Let me know if I am on the right path. >>>> >>>> Thanks again for your interest. >>>> >>>> >>>> On Tue, Oct 27, 2015 at 2:04 AM, 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 >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Naveen Xavier >>>> >>>> >>>> >>> >> >> >> -- >> Regards, >> >> Naveen Xavier >> >> >> >
