# Error while configuring Kibana Development setup

**URL:** <https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690>\
**Category:** Kibana\
**Created:** [May 28, 2020, 8:18am UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690 "2020-05-28T08:18:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anilreddyd](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@anilreddyd](https://discuss.elastic.co/u/anilreddyd)\
**Post date:** [May 28, 2020, 8:18am UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/1 "2020-05-28T08:18:06Z")

</div>

Hi,

I am trying to develop Kibana development environment to do the changes and rebuild.

During the setup process while executing the command "yarn kbn bootstrap", I am getting the below error

ERROR Kibana pre-commit git hook was not installed as an error occur.  
ERROR UNHANDLED ERROR  
ERROR Error: ENOENT: no such file or directory, open '/opt/kibana/--git-common-dir/hooks/pre-commit'  
info Visit [https://yarnpkg.com/en/docs/cli/run](https://yarnpkg.com/en/docs/cli/run) for documentation about this command.  
at makeError (/opt/kibana/packages/kbn-pm/dist/index.js:34822:11)  
at handlePromise (/opt/kibana/packages/kbn-pm/dist/index.js:33758:26)  
at process.\_tickCallback (internal/process/next\_tick.js:68:7)  
error Command failed with exit code 1.

As it is related to fetching the .git folder path, I make sure that the code is cloned from git and .git folder exists and access permissions available for the user who is executing the yarn command to access .git folder. But still I am facing the same issue.

Can anyone help me how to resolve the issue.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 2, 2020, 7:34am UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/2 "2020-06-02T07:34:00Z")

</div>

Hi and welcome to our community

As a start, in which environment to the try bootstrap your Kibana (OS + version)

Thx & Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![mastermind](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mastermind](https://discuss.elastic.co/u/mastermind)\
**Post date:** [June 2, 2020, 2:42pm UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/3 "2020-06-02T14:42:18Z")

</div>

I am trying to deploy locally on dockers desktop kubernetes also i am trying to deploy the latest elastic and kibana version (v7.7.0)  
Local Kubernetes = V 1.16.5 + OS = Linux.

Once i am able to deploy locally then i will deploy on Azure kubernetes services.

---

<div class="post-metadata">

**Author:** ![anilreddyd](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@anilreddyd](https://discuss.elastic.co/u/anilreddyd)\
**Post date:** [June 2, 2020, 2:44pm UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/4 "2020-06-02T14:44:17Z")

</div>

Hi @matw,

Glad to see your response.

I am trying the development environment on Centos-7 with Kibana master branch.

Thanks,  
Anil.

---

<div class="post-metadata">

**Author:** ![mastermind](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mastermind](https://discuss.elastic.co/u/mastermind)\
**Post date:** [June 2, 2020, 3:52pm UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/5 "2020-06-02T15:52:49Z")

</div>

Hi @anilreddyd

thank you for your response as well.

it is possible if you try to deploy on local kubernetes that will be helpful.

if you try to deploy on simple Centos-7 than might be configurations are different

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 3, 2020, 6:56am UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/6 "2020-06-03T06:56:43Z")

</div>

maybe the git version you're using is dated?

could you execute

`git rev-parse --git-common-dir`

and share the output?

many thx!

---

<div class="post-metadata">

**Author:** ![mastermind](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mastermind](https://discuss.elastic.co/u/mastermind)\
**Post date:** [June 3, 2020, 1:36pm UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/7 "2020-06-03T13:36:11Z")

</div>

hi @matw

What is the relation between git and elastic can you please explain  
I ran the command on my computer where i installed Dockers desktop and get  
fatal: not a git repository (or any of the parent directories): .git

---

<div class="post-metadata">

**Author:** ![mastermind](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mastermind](https://discuss.elastic.co/u/mastermind)\
**Post date:** [June 3, 2020, 2:00pm UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/8 "2020-06-03T14:00:36Z")

</div>

Ohh Sorry i replied on the Wrong post Sorry

---

<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:** [July 1, 2020, 2:00pm UTC](https://discuss.elastic.co/t/error-while-configuring-kibana-development-setup/234690/9 "2020-07-01T14:00:42Z")

</div>

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