# Issue in building Kibana rpm 7.8.0 from src

**URL:** <https://discuss.elastic.co/t/issue-in-building-kibana-rpm-7-8-0-from-src/241976>\
**Category:** Kibana\
**Created:** [July 21, 2020, 7:24am UTC](https://discuss.elastic.co/t/issue-in-building-kibana-rpm-7-8-0-from-src/241976 "2020-07-21T07:24:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohitj252](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohitj252/32/81348_2.png) [@Mohitj252](https://discuss.elastic.co/u/Mohitj252)\
**Post date:** [July 21, 2020, 7:24am UTC](https://discuss.elastic.co/t/issue-in-building-kibana-rpm-7-8-0-from-src/241976/1 "2020-07-21T07:24:09Z")

</div>

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](mailto:fsevents@1.2.12): The platform "linux" is incompatible with this module.

info "[fsevents@1.2.12](mailto:fsevents@1.2.12)" is an optional dependency and failed compatibility check. Excluding it from installation.

info [fsevents@2.1.2](mailto:fsevents@2.1.2): The platform "linux" is incompatible with this module.

info "[fsevents@2.1.2](mailto: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](mailto:babel-plugin-styled-components@1.10.6)" has unmet peer dependency "styled-components@\>= 2".

warning " \> [less-loader@5.0.0](mailto:less-loader@5.0.0)" has unmet peer dependency "[less@^2.3.1 || ^3.0.0](mailto:less@%5e2.3.1%20%7C%7C%20%5e3.0.0)".

warning " \> [grunt-karma@3.0.2](mailto:grunt-karma@3.0.2)" has incorrect peer dependency "[karma@^3.0.0 || ^4.0.0](mailto:karma@%5e3.0.0%20%7C%7C%20%5e4.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](mailto:react-router-dom@%5e4.0.0)".

warning "workspace-aggregator-a36f9758-e7ea-46dd-a387-00567a36f3a8 \> x-pack \> [react-shortcuts@2.0.1](mailto:react-shortcuts@2.0.1)" has incorrect peer dependency "[react@^0.14.8 || ^15](mailto:react@%5e0.14.8%20%7C%7C%20%5e15)".

warning "workspace-aggregator-a36f9758-e7ea-46dd-a387-00567a36f3a8 \> x-pack \> [react-shortcuts@2.0.1](mailto:react-shortcuts@2.0.1)" has incorrect peer dependency "[react-dom@^0.14.8 || ^15](mailto:react-dom@%5e0.14.8%20%7C%7C%20%5e15)".

warning "workspace-aggregator-a36f9758-e7ea-46dd-a387-00567a36f3a8 \> x-pack \> [styled-components@5.0.0](mailto:styled-components@5.0.0)" has unmet peer dependency "[react-is@\>= 16.8.0](mailto:react-is@%3e=%2016.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](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](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.

---

<div class="post-metadata">

**Author:** ![mrudrego](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@mrudrego](https://discuss.elastic.co/u/mrudrego)\
**Post date:** [July 28, 2020, 10:55am UTC](https://discuss.elastic.co/t/issue-in-building-kibana-rpm-7-8-0-from-src/241976/2 "2020-07-28T10:55:19Z")

</div>

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](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,

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 25, 2020, 10:55am UTC](https://discuss.elastic.co/t/issue-in-building-kibana-rpm-7-8-0-from-src/241976/3 "2020-08-25T10:55:19Z")

</div>

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