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 <naveen.xav...@gmail.com>
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:
>
> > phantomjs@1.9.18 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! phantomjs@1.9.18 install: `node install.js`
> npm ERR! Exit status 127
> npm ERR!
> npm ERR! Failed at the phantomjs@1.9.18 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 <naveen.xav...@gmail.com>
> 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 <rconl...@gmail.com>
>> 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 <naveen.xav...@gmail.com
>>> > 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
>
>
>

Reply via email to