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 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.
Hi and welcome to our community
As a start, in which environment to the try bootstrap your Kibana (OS + version)
Thx & Best,
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.
Glad to see your response.
I am trying the development environment on Centos-7 with Kibana master branch.
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
maybe the git version you're using is dated?
could you execute
git rev-parse --git-common-dir
and share the output?
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
Ohh Sorry i replied on the Wrong post Sorry
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.