You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Zhong Wang <wa...@gmail.com> on 2016/01/12 08:50:15 UTC
Failed to build zeppelin-web on master
Hi guys,
I got a failure when I try building Zeppelin on a Mac OSX machine. It seems
it is related to grunt/bower configuration:
--
Running "karma:unit" (karma) task
INFO [karma]: Karma v0.12.37 server started at http://localhost:9002/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket
-JdsKz62FGHXipqWxKJI with id 26196288
PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR
Error: Bootstrap's JavaScript requires jQuery
at
/Users/zhongwang/tools/incubator-zeppelin/zeppelin-web/bower_components/bootstrap/dist/js/bootstrap.js:7
I am not familiar with grunt/bower. What may be this issue caused by?
Thanks,
Zhong
Re: Failed to build zeppelin-web on master
Posted by rohit choudhary <rc...@gmail.com>.
There's an even better solution here that doesn't force you to skip tests.
You can use an overrides section (found on
https://github.com/ajaxorg/ace-builds/issues/20)
Add the following section to your project's bower.json
..."overrides": {
"jquery": {
"main": "dist/jquery.js"
}}
Re: Failed to build zeppelin-web on master
Posted by Zhong Wang <wa...@gmail.com>.
Thanks, Corneau.
I am not sure whether this is a PhantomJS issues or a bower issue, but it
works after I removed the extra resolution of perfect-scrollbar from
bower.json. Before that, jquery was not installed correctly by bower
I hope this could help others with the same issue
Zhong
On Tue, Jan 12, 2016 at 12:02 AM, Corneau Damien <co...@gmail.com>
wrote:
> Hi,
>
> If you got problem with PhantomJS, you can remove this line:
>
> https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/Gruntfile.js#L437
>
> On Tue, Jan 12, 2016 at 4:50 PM, Zhong Wang <wa...@gmail.com>
> wrote:
>
>> Hi guys,
>>
>> I got a failure when I try building Zeppelin on a Mac OSX machine. It
>> seems it is related to grunt/bower configuration:
>> --
>> Running "karma:unit" (karma) task
>> INFO [karma]: Karma v0.12.37 server started at http://localhost:9002/
>> INFO [launcher]: Starting browser PhantomJS
>> INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket
>> -JdsKz62FGHXipqWxKJI with id 26196288
>> PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR
>> Error: Bootstrap's JavaScript requires jQuery
>> at
>> /Users/zhongwang/tools/incubator-zeppelin/zeppelin-web/bower_components/bootstrap/dist/js/bootstrap.js:7
>>
>> I am not familiar with grunt/bower. What may be this issue caused by?
>>
>> Thanks,
>> Zhong
>>
>
>
Re: Failed to build zeppelin-web on master
Posted by Corneau Damien <co...@gmail.com>.
Hi,
If you got problem with PhantomJS, you can remove this line:
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/Gruntfile.js#L437
On Tue, Jan 12, 2016 at 4:50 PM, Zhong Wang <wa...@gmail.com> wrote:
> Hi guys,
>
> I got a failure when I try building Zeppelin on a Mac OSX machine. It
> seems it is related to grunt/bower configuration:
> --
> Running "karma:unit" (karma) task
> INFO [karma]: Karma v0.12.37 server started at http://localhost:9002/
> INFO [launcher]: Starting browser PhantomJS
> INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket
> -JdsKz62FGHXipqWxKJI with id 26196288
> PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR
> Error: Bootstrap's JavaScript requires jQuery
> at
> /Users/zhongwang/tools/incubator-zeppelin/zeppelin-web/bower_components/bootstrap/dist/js/bootstrap.js:7
>
> I am not familiar with grunt/bower. What may be this issue caused by?
>
> Thanks,
> Zhong
>