Unable to build kibana from kibana developing enviroment

I have used contributing kibana guide and opened kibana in offline development environment.

I have made changes to core kibana and plugin i have created in kibana-extra folder.

Now i want to build kibana for deployment.

i have tried
yarn build

but due to offline environment it got fail with some git error , it seems it needs some version control from git.

How can i build kibana again? what should i do?

Thanks in advance.

What OS are you using to build kibana?

window 10 pro.
Error is:-
"
ncaught error
ERROR Error: Command failed: git rev-parse HEAD
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'"

steps to reproduce:-
0. download kibana from repository for development environment in offline mode without internet

  1. yarn kbn bootstrap -- Bootstrapping completed!
    2 yarn start --dev :- start perfectly
  2. stop kibana
    4 yarn build :roll_eyes:- it fails(offline machine)

There are some issues building for all platforms, you can do build with the "--skip-os-packages" flag. That should work.

1 Like

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