# Getting error while bootstrapping opensearch dashboard

**URL:** <https://forum.opensearch.org/t/getting-error-while-bootstrapping-opensearch-dashboard/13655>\
**Category:** OpenSearch\
**Tags:** troubleshoot, install\
**Created:** [March 27, 2023, 11:40pm UTC](https://forum.opensearch.org/t/getting-error-while-bootstrapping-opensearch-dashboard/13655 "2023-03-27T23:40:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zloiadil01](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/zloiadil01/32/5222_2.png) [@zloiadil01](https://forum.opensearch.org/u/zloiadil01)\
**Post date:** [March 27, 2023, 11:40pm UTC](https://forum.opensearch.org/t/getting-error-while-bootstrapping-opensearch-dashboard/13655/1 "2023-03-27T23:40:21Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
OpenSearch-Dashboards  
macOS Ventura 13.0.1

**Describe the issue** :

I installed the necessary versions of the node and yarn that were in the documentation, however, an error occurred in the execution of the osd bootstrap command  
the error explicitly indicates the hint yarn install, however, it is does not resolved issue  
I tried to search on the Internet, but I did not find anything useful in them

**Configuration** :  
macOS Ventura 13.0.1  
node -v 14.20.1  
yarn -v 3.5.0

**Relevant Logs or Screenshots** :

 ![Снимок экрана 2023-03-28 в 05.02.48](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/e/e373f6934b9c70f00f05b2c878a0ead4ca259736.png)

---

<div class="post-metadata">

**Author:** ![TursD](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@TursD](https://forum.opensearch.org/u/TursD)\
**Post date:** [March 28, 2023, 2:16am UTC](https://forum.opensearch.org/t/getting-error-while-bootstrapping-opensearch-dashboard/13655/2 "2023-03-28T02:16:20Z")

</div>

I think Macs (i think in particular we had this on M1/M2 chips?) have some problems yeah

Open new terminal (not docker shell), inside the folder ‘Opensearch-Dashboards’, configure environment variables for OpenSearch Dashboards:

```auto
export SERVER_HOST="localhost"
export OPENSEARCH_HOSTS="http://localhost:9200"

```

Start the OpenSearch Dashboards development server using the start:docker command:

```auto
yarn start:docker

```

After following the previous instructions, OpenSearch Dashboards should be running on `http://127.0.0.1:5603/fux`. To access the OpenSearch Dashboards web interface, use the URL `http://127.0.0.1:5603/fux` in your browser instead of `localhost:5603/fux`. Changing the URL to use `127.0.0.1` instead of `localhost` can help avoid potential issues.

Let me know if this fixed the issue

---

<div class="post-metadata">

**Author:** ![TursD](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@TursD](https://forum.opensearch.org/u/TursD)\
**Post date:** [March 28, 2023, 2:17am UTC](https://forum.opensearch.org/t/getting-error-while-bootstrapping-opensearch-dashboard/13655/3 "2023-03-28T02:17:39Z")

</div>

Those troubleshoot steps should be eventually merged to docker setup manual(even if they’re formatted a bit differently), I believe the PR for that is ongoing

---

<div class="post-metadata">

**Author:** ![zloiadil01](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/zloiadil01/32/5222_2.png) [@zloiadil01](https://forum.opensearch.org/u/zloiadil01)\
**Post date:** [March 28, 2023, 4:45pm UTC](https://forum.opensearch.org/t/getting-error-while-bootstrapping-opensearch-dashboard/13655/4 "2023-03-28T16:45:31Z")

</div>

Unfortunately, it does not resolved this issue 😔

---

<div class="post-metadata">

**Author:** ![ashwinpc](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/ashwinpc/32/4948_2.png) [@ashwinpc](https://forum.opensearch.org/u/ashwinpc)\
**Post date:** [July 25, 2023, 11:09pm UTC](https://forum.opensearch.org/t/getting-error-while-bootstrapping-opensearch-dashboard/13655/5 "2023-07-25T23:09:29Z")

</div>

@zloiadil01 did you successfully install yarn? If so are you still seeing the same error? You can verify that you have yarn installed using the command `yarn --version` in the project root. Also OSD isnt officially supported on MacOS so using the [docker setup guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/docs/docker-dev/docker-dev-setup-manual.md) would be the way to go for MacOS right now.
