# Kibana developer guide

**URL:** <https://discuss.elastic.co/t/kibana-developer-guide/328421>\
**Category:** Kibana\
**Created:** [March 24, 2023, 5:45am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421 "2023-03-24T05:45:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dms6978](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dms6978/32/112435_2.png) [@dms6978](https://discuss.elastic.co/u/dms6978)\
**Post date:** [March 24, 2023, 5:45am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421/1 "2023-03-24T05:45:13Z")

</div>

I ran 'yarn kbn bootstrap' while looking at the kibana developer guide, and the error follows.

```auto
UNHANDLED EXCEPTION: Error: spawn git ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:485:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```

The path to "git" is also set. Please tell me the cause of the error and the solution.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 24, 2023, 10:21am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421/2 "2023-03-24T10:21:33Z")

</div>

Hi @dms6978

Which OS are you using?

I see a [similar issue](https://discuss.elastic.co/t/error-while-running-yarn-kbn-bootstrap/186572) has been raised previously. As per that thread, can you try running `npm install` first?

---

<div class="post-metadata">

**Author:** ![dms6978](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dms6978/32/112435_2.png) [@dms6978](https://discuss.elastic.co/u/dms6978)\
**Post date:** [March 27, 2023, 2:01am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421/3 "2023-03-27T02:01:10Z")

</div>

I'm using MacOS Apple silicon Ventura.  
The following error occurs when running with the command `npm install`.

```auto
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:x-pack/test/alerting_api_integration/common/plugins/aad

```

Last night `yarn kbn bootstrap` worked, but it's not working today 🥲

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 27, 2023, 10:56am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421/4 "2023-03-27T10:56:07Z")

</div>

Appreciate the update. Are you getting a particular error running `yarn kbn bootstrap` today?

I would be tempted to try clearing the cache by running `yarn cache clean`, pull the latest version and then run the bootstrap and start commands again.

---

<div class="post-metadata">

**Author:** ![dms6978](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dms6978/32/112435_2.png) [@dms6978](https://discuss.elastic.co/u/dms6978)\
**Post date:** [March 28, 2023, 12:14am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421/5 "2023-03-28T00:14:29Z")

</div>

The same error continues to occur. It's hard..... what should I do.....?  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/2/229e76d9518aeb4c78246cf6b83c59dfd9ac7745.png)

---

<div class="post-metadata">

**Author:** ![dms6978](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dms6978/32/112435_2.png) [@dms6978](https://discuss.elastic.co/u/dms6978)\
**Post date:** [March 28, 2023, 2:30am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421/6 "2023-03-28T02:30:50Z")

</div>

I don't know what caused it to run, but I reconnected the repository using 'github DeskTop', and I updated it through the `yarn` command before running `yarn kbn bootstrap` and it worked!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 25, 2023, 2:31am UTC](https://discuss.elastic.co/t/kibana-developer-guide/328421/7 "2023-04-25T02:31:00Z")

</div>

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