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.
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.
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
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.