Kibana 8.0.0-alpha1

When installing dependencies for kibana using command :
yarn kbn bootstrap --force-install

getting the following error:

succ yarn.lock analysis completed without any issues
[vscode]  succ updated /home/elastic/Abhishek/kibana-main/.vscode/settings.json
[ts refs]  info ensuring we have the latest changelog from upstream main
[ts refs] ERROR UNHANDLED ERROR
[ts refs] ERROR Error: Command failed with exit code 128: git fetch https://github.com/elastic/kibana.git main
[ts refs]       fatal: not a git repository (or any of the parent directories): .git
[ts refs]           at makeError (/home/elastic/Abhishek/kibana-main/node_modules/execa/lib/error.js:59:11)
[ts refs]           at handlePromise (/home/elastic/Abhishek/kibana-main/node_modules/execa/index.js:114:26)
[ts refs]           at processTicksAndRejections (node:internal/process/task_queues:96:5)
[ts refs]           at RepoInfo.git (/home/elastic/Abhishek/kibana-main/src/dev/typescript/ref_output_cache/repo_info.ts:49:18)
[ts refs]           at RepoInfo.getMergeBase (/home/elastic/Abhishek/kibana-main/src/dev/typescript/ref_output_cache/repo_info.ts:30:5)
[ts refs]           at Function.create (/home/elastic/Abhishek/kibana-main/src/dev/typescript/ref_output_cache/ref_output_cache.ts:62:23)
[ts refs]           at description (/home/elastic/Abhishek/kibana-main/src/dev/typescript/build_ts_refs_cli.ts:87:23)
[ts refs]           at /home/elastic/Abhishek/kibana-main/node_modules/@kbn/dev-utils/target_node/run/run.js:62:7
[ts refs]           at withProcRunner (/home/elastic/Abhishek/kibana-main/node_modules/@kbn/dev-utils/target_node/proc_runner/with_proc_runner.js:31:5)
[ts refs]           at run (/home/elastic/Abhishek/kibana-main/node_modules/@kbn/dev-utils/target_node/run/run.js:61:5)
ERROR [bootstrap] failed:
ERROR Error: Command failed with exit code 1: /home/elastic/.nvm/versions/node/v16.13.0/bin/node scripts/build_ts_refs --ignore-type-failures
       info ensuring we have the latest changelog from upstream main
      ERROR UNHANDLED ERROR
      ERROR Error: Command failed with exit code 128: git fetch https://github.com/elastic/kibana.git main
            fatal: not a git repository (or any of the parent directories): .git
                at makeError (/home/elastic/Abhishek/kibana-main/node_modules/execa/lib/error.js:59:11)
                at handlePromise (/home/elastic/Abhishek/kibana-main/node_modules/execa/index.js:114:26)
                at processTicksAndRejections (node:internal/process/task_queues:96:5)
                at RepoInfo.git (/home/elastic/Abhishek/kibana-main/src/dev/typescript/ref_output_cache/repo_info.ts:49:18)
                at RepoInfo.getMergeBase (/home/elastic/Abhishek/kibana-main/src/dev/typescript/ref_output_cache/repo_info.ts:30:5)
                at Function.create (/home/elastic/Abhishek/kibana-main/src/dev/typescript/ref_output_cache/ref_output_cache.ts:62:23)
                at description (/home/elastic/Abhishek/kibana-main/src/dev/typescript/build_ts_refs_cli.ts:87:23)
                at /home/elastic/Abhishek/kibana-main/node_modules/@kbn/dev-utils/target_node/run/run.js:62:7
                at withProcRunner (/home/elastic/Abhishek/kibana-main/node_modules/@kbn/dev-utils/target_node/proc_runner/with_proc_runner.js:31:5)
                at run (/home/elastic/Abhishek/kibana-main/node_modules/@kbn/dev-utils/target_node/run/run.js:61:5)
          at makeError (/home/elastic/Abhishek/kibana-main/packages/kbn-pm/dist/index.js:10518:11)
          at handlePromise (/home/elastic/Abhishek/kibana-main/packages/kbn-pm/dist/index.js:9429:26)
          at processTicksAndRejections (node:internal/process/task_queues:96:5)
          at async Object.run (/home/elastic/Abhishek/kibana-main/packages/kbn-pm/dist/index.js:8989:5)
          at async runCommand (/home/elastic/Abhishek/kibana-main/packages/kbn-pm/dist/index.js:61661:5)
          at async Module.run (/home/elastic/Abhishek/kibana-main/packages/kbn-pm/dist/index.js:242:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Would you mind reporting the bug Sign in to GitHub · GitHub ? We need steps to reproduce the problem to investigate the failure.
In the meantime, you can run yarn kbn bootstrap --no-cache to avoid fetching the repo.

Hi Mikhail,

Thanks for the speedy resolution, but with using the above command im unable to make progress after the below line:

[ts refs] info ensuring we have the latest changelog from upstream main

I have reported the reported the initial bug.

Regards

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