Issue in building Kibana rpm 7.8.0 from src

Hi, I am trying to builidng kibana rpm but I am facing issues while running yarn kbn bootstrap --oss command. PFB output of the mentioned command, this error is related to the chrome driver installation.

`info [kibana] running yarn

$ node ./preinstall_check

[1/5] Validating package.json...

[2/5] Resolving packages...

[3/5] Fetching packages...

info There appears to be trouble with your network connection. Retrying...

info fsevents@1.2.12: The platform "linux" is incompatible with this module.

info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.

info fsevents@2.1.2: The platform "linux" is incompatible with this module.

info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.

[4/5] Linking dependencies...

warning "@kbn/analytics > @kbn/babel-preset > babel-plugin-styled-components@1.10.6" has unmet peer dependency "styled-components@>= 2".

warning " > less-loader@5.0.0" has unmet peer dependency "less@^2.3.1 || ^3.0.0".

warning " > grunt-karma@3.0.2" has incorrect peer dependency "karma@^3.0.0 || ^4.0.0".

warning "workspace-aggregator-a36f9758-e7ea-46dd-a387-00567a36f3a8 > x-pack > @elastic/apm-rum-react@1.1.1" has incorrect peer dependency "react-router-dom@^4.0.0".

warning "workspace-aggregator-a36f9758-e7ea-46dd-a387-00567a36f3a8 > x-pack > react-shortcuts@2.0.1" has incorrect peer dependency "react@^0.14.8 || ^15".

warning "workspace-aggregator-a36f9758-e7ea-46dd-a387-00567a36f3a8 > x-pack > react-shortcuts@2.0.1" has incorrect peer dependency "react-dom@^0.14.8 || ^15".

warning "workspace-aggregator-a36f9758-e7ea-46dd-a387-00567a36f3a8 > x-pack > styled-components@5.0.0" has unmet peer dependency "react-is@>= 16.8.0".

[#################################################################################################################] 302082/302934

Mon Jul 20 13:25:01 2020

Your terminal (/dev/pts/0) has been idle for 18 min.

Press Enter key or you will be logged out any time after 101 min.

[5/5] Building fresh packages...

[11/28] ⠂ chromedriver

[2/28] ⠂ node-sass

[6/28] ⠂ yo

[7/28] ⠂ puppeteer

error /home/cloud-user/mohit-ui/build-locally-ui-project/node_modules/chromedriver: Command failed.

Exit code: 1

Command: node install.js

Arguments:

Directory: /home/cloud-user/mohit-ui/build-locally-ui-project/node_modules/chromedriver

Output:

Current existing ChromeDriver binary is unavailable, proceeding with download and extraction.

Downloading from file: https://chromedriver.storage.googleapis.com/83.0.4103.39/chromedriver_linux64.zip

Saving to file: /tmp/83.0.4103.39/chromedriver/chromedriver_linux64.zip

ChromeDriver installation failed Error: Error with http(s) request: Error: socket hang up

ERROR [bootstrap] failed:

ERROR Error: Command failed with exit code 1: yarn install --non-interactive

at makeError (/home/cloud-user/mohit-ui/build-locally-ui-project/packages/kbn-pm/dist/index.js:24811:11)

at handlePromise (/home/cloud-user/mohit-ui/build-locally-ui-project/packages/kbn-pm/dist/index.js:23746:26)

at process._tickCallback (internal/process/next_tick.js:68:7)

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

Please guide me how I can resolve this error, I have set proper yarn config set https-proxy http://..*.:8000 to run this command.

We are also facing the same "ChromeDriver installation failed Error: Error with http(s) request: Error: socket hang up " when rebuilding kibana 7.8.0
We are successfully able to download the zip (https://chromedriver.storage.googleapis.com/83.0.4103.39/chromedriver_linux64.zip) via wget command after setting a proxy.
The same proxy is set for npm config proxy and https-proxy, but still it fails.

Any help/guidance will be very helpful.

Thanks,

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