Error while running yarn kbn bootstrap

Error: Command failed: yarn run kbn:bootstrap
Error: spawn git ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
error Command failed with exit code 1.

yarn build:types && node scripts/register_git_hook tsc --p tsconfig.types.json
Registering Kibana pre-commit git hook...

fail Kibana pre-commit git hook was not installed as an error occur.

what OS are you using this one and what branch of kibana are you trying to run?

I tried in both Windows 7 and 10 and Iam using Kibana 6.6. Still the problem persists

can you try a "npm install" first? yarn kbn bootstrap should have worked, but we haven't tested it on Windows 7.

When I run the 'npm install' command, It suggesting me to use yarn instead

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