Running "run:optimizeBuild" (run) task failed

Hello, the run of optimizeBuild failed with this errors:
Running “run:optimizeBuild” (run) task

log [14:11:37.760] [info][optimize] Optimizing and caching bundles for kibana, timelion and status_page. This may take a few minutes

log [14:14:18.204] [fatal] Error: Optimizations failure.

WARNING in ./build/kibana/src/ui/public/styles/spinner.less
Module build failed: ModuleBuildError: Module build failed: Error: EINVAL: invalid argument, uv_interface_addresses
    at Error (native)

I am working in windows 10 and use bash ubuntu Linux 3.4.0

kibana 5.4.4 code source get it with clone

node v6.12.3

npm v3.10.10
@Lavitra

I’m finding several people who receive errors like EINVAL: invalid argument, uv_interface_addresses when using “Bash on windows”. I suggest sticking with an actual Ubuntu VM.

Hello, @Kiranila
I have succeeded to build kibana 5.4.0 with Bash on windows

i updae npm version to 4.6.1
for npm 3.x the modification add is :

in kibana\node_modules\macaddress\index.js
lib.networkInterfaces = function () {

var ifaces;

try {

ifaces=os.networkInterfaces();

} catch (e) {

ifaces=os.networkInterfaces = () => ({});

}
also, i find your vidéo https://www.elastic.co/elasticon/conf/2016/sf/how-to-build-your-own-kibana-plugins
have you please sample files for visualization development for version 5.x using existing vizualisation or a docuementation who helps me in my mission to add modification in existing visualization ?

I find this just for kibana 6.x !
thank’s

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.