[users at bb.net] Customizing the user interface

Josh Bialkowski josh.bialkowski at gmail.com
Wed Feb 27 00:16:29 UTC 2019


Nevermind... after uninstalling node 10 and downgrading to node 8, I'm now
able to `make frontend` as well as `gulp dev`... so I'm past that.
I'm currently trying to follow
https://medium.com/buildbot/buildbot-ui-plugin-for-python-developer-ef9dcfdedac0.
If anyone has other recommendations I'd appreciate pointers.



On Tue, Feb 26, 2019 at 3:34 PM Josh Bialkowski <josh.bialkowski at gmail.com>
wrote:

> I would like to do some minor customization of the buildbot web user
> interface. In particular, I'd like to add a navigation menu linking to
> other related services (i.e. gerrit, etc). I'm having trouble figuring out
> where to start. I haven't found any "simple" ways of hooking some extra
> elements into the UI, so I tried to follow
>
> http://docs.buildbot.net/latest/developer/www-base-app.html#hacking-quick-start
> ...but I can't seem to follow the instructions. In particular, the `make
> frontend` step fails (error text below). I also tried running `gulp dev`
> from `www/base` and got a simliar error.
>
> Does anyone have any info about how to get past this? Alternatively, if
> there are any recommendations how to add a simple bit of code to web UI I'd
> appreciate it.
>
> `make frontend`
> ---------------------
> Obtaining file:///home/josh/codes/buildbot/www/base
>     Complete output from command python setup.py egg_info:
>     running egg_info
>     running build_js
>     /bin/sh: 1: yarn: not found
>     yarn:  npm:  6.8.0
>     Running command: npm install
>     npm WARN buildbot-www@ No description
>     npm WARN buildbot-www@ No repository field.
>     npm WARN buildbot-www@ No license field.
>     npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents at 1.1.3
> (node_modules/fsevents):
>     npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
> fsevents at 1.1.3: wanted {"os":"darwin","arch":"any"} (current:
> {"os":"linux","arch":"x64"})
>
>     audited 1895 packages in 2.589s
>     found 61 vulnerabilities (22 low, 25 moderate, 14 high)
>       run `npm audit fix` to fix them, or `npm audit` for details
>     Running command:
> /home/josh/codes/buildbot/www/base/node_modules/.bin/gulp prod --notests
>     gulp[13457]: ../src/node_contextify.cc:633:static void
> node::contextify::ContextifyScript::New(const
> v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()'
> failed.
>      1: 0x8dc1c0 node::Abort() [gulp]
>      2: 0x8dc295  [gulp]
>      3: 0x90ff57
> node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value>
> const&) [gulp]
>      4: 0xb5d3fb  [gulp]
>      5: 0xb5f392 v8::internal::Builtin_HandleApiCall(int,
> v8::internal::Object**, v8::internal::Isolate*) [gulp]
>      6: 0x28d96675be1d
>
> /home/josh/codes/buildbot/.venv/lib/python3.5/site-packages/setuptools/dist.py:475:
> UserWarning: Normalizing '2.0.2-dev101' to '2.0.2.dev101'
>       normalized_version,
>     error: cannot copy tree 'buildbot_www/static': not a directory
>
>     ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /home/josh/codes/buildbot/www/base/
>
>
> `gulp dev`
> -------------
> gulp dev[13530]: ../src/node_contextify.cc:633:static void
> node::contextify::ContextifyScript::New(const
> v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()'
> failed.
>  1: 0x8dc1c0 node::Abort() [gulp dev]
>  2: 0x8dc295  [gulp dev]
>  3: 0x90ff57
> node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value>
> const&) [gulp dev]
>  4: 0xb5d3fb  [gulp dev]
>  5: 0xb5f392 v8::internal::Builtin_HandleApiCall(int,
> v8::internal::Object**, v8::internal::Isolate*) [gulp dev]
>  6: 0x3b2e22dbe1d
> Aborted (core dumped)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20190226/ec7b58b7/attachment.html>


More information about the users mailing list