# Execute yarn kbn bootstrap error

**URL:** <https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [January 17, 2022, 7:26am UTC](https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537 "2022-01-17T07:26:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qixian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qixian/32/97437_2.png) [@qixian](https://discuss.elastic.co/u/qixian)\
**Post date:** [January 17, 2022, 7:26am UTC](https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537/1 "2022-01-17T07:26:37Z")

</div>

when i execut the command error,and I have configured the npm $PATH globally,who can ihelp me.

 ![thumbnail_7aafe451dd2a164d919668a0e5abc852](https://us1.discourse-cdn.com/elastic/original/3X/8/4/846382f1817928276a0a1b01025e5f995cc8bfd5.png)

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [January 19, 2022, 8:34pm UTC](https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537/2 "2022-01-19T20:34:03Z")

</div>

@qixian the error suggests that you need to install npm itself globally on the machine you're using. Do you see `npm` in the output from `npm list -g` ?  
You should see `npm` listed in the tree view. e.g:

```auto
➜ kibana git:(main) ✗ npm list -g
/<redacted>/.nvm/versions/node/v16.13.2/lib
├── corepack@0.10.0
└── npm@8.1.2

```

If you have `npm` globally, then check if the user you're running Kibana with has the right permissions needed to install packages.

---

<div class="post-metadata">

**Author:** ![qixian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qixian/32/97437_2.png) [@qixian](https://discuss.elastic.co/u/qixian)\
**Post date:** [January 20, 2022, 1:44am UTC](https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537/3 "2022-01-20T01:44:40Z")

</div>

ok,thanks,I have used the debian os to execute,it works.

---

<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:** [February 17, 2022, 1:45am UTC](https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537/4 "2022-02-17T01:45:09Z")

</div>

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