Can somebody help resolve 8.14. build issue.
opened 11:19PM - 26 Aug 24 UTC
bug
needs-team
**Kibana version:** 8.14.3
**Elasticsearch version:**
**Server OS version:** … ubuntu
**Browser version:**
**Browser OS version:**
**Original install method (e.g. download page, yum, from source, etc.):**
```
yarn kbn reset & yarn kbn bootstrap
yarn build
```
**Describe the bug:**
```
│ info $ fpm --force -t deb --package /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/target/NAME-8.14.3-SNAPSHOT-ARCH.TYPE -s dir --name kibana --description Explore and visualize your Elasticsearch data --version 8.14.3-SNAPSHOT --url https://www.elastic.co --vendor Elasticsearch, Inc. --maintainer Kibana Team <info@elastic.co> --license Elastic-License --after-install /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/src/dev/build/tasks/os_packages/package_scripts/post_install.sh --before-install /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/src/dev/build/tasks/os_packages/package_scripts/pre_install.sh --before-remove /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/src/dev/build/tasks/os_packages/package_scripts/pre_remove.sh --after-remove /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/src/dev/build/tasks/os_packages/package_scripts/post_remove.sh --rpm-posttrans /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/src/dev/build/tasks/os_packages/package_scripts/post_trans.sh --rpm-digest sha256 --config-files /etc/kibana --template-value user=kibana --template-value group=kibana --template-value configDir=/etc/kibana --template-value pluginsDir=/usr/share/kibana/plugins --template-value dataDir=/var/lib/kibana --template-value logDir=/var/log/kibana --template-value pidDir=/run/kibana --template-value envFile=/etc/default/kibana --exclude usr/share/kibana/config --exclude usr/share/kibana/data --exclude usr/share/kibana/logs --exclude run/kibana/.gitempty --architecture amd64 --deb-priority optional /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/build/default/kibana-8.14.3-SNAPSHOT-linux-x86_64/=/usr/share/kibana/ /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/build/os_packages/config/kibana.yml=/etc/kibana/kibana.yml /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/build/default/kibana-8.14.3-SNAPSHOT-linux-x86_64/config/=/etc/kibana/ /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/build/default/kibana-8.14.3-SNAPSHOT-linux-x86_64/data/=/var/lib/kibana/ /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/build/default/kibana-8.14.3-SNAPSHOT-linux-x86_64/logs/=/var/log/kibana/ /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/src/dev/build/tasks/os_packages/service_templates/systemd/=/ /Users/ankita.mehta/Desktop/Code/github/arista_ank/kibana_ank/kibana/src/dev/build/tasks/os_packages/service_templates/env/kibana/=/etc/default/kibana
│ERROR failure 0 sec
│ERROR Error: Premature close
│ at Socket.onclose (node:internal/streams/end-of-stream:154:30)
│ at Socket.emit (node:events:531:35)
│ at Pipe.<anonymous> (node:net:338:12)
```
**Steps to reproduce:**
1. Load vanilla 8.14.3
2. nvm use 20.13.1
```
yarn kbn reset & yarn kbn bootstrap
yarn build
```
3. you will see the error.
**Expected behavior:**
Successful build with target/kiaban-*-docker-image.tar,gz getting built.
**Screenshots (if relevant):**
**Errors in browser console (if relevant):**
**Provide logs and/or server output (if relevant):**
**Any additional context:**
jessgarson
(Jess Garson)
September 5, 2024, 7:42pm
2
Hi @ankita-mehta-bsn ,
According to the issue referenced, gem install fpm
will resolve this. Let us know if you need further help or something else.
Best,
Jessica
1 Like