Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while bootstrapping opensearch dashboard in Windows #2603

Closed
vimalMK opened this issue Oct 18, 2022 · 2 comments · Fixed by #2601
Closed

Getting error while bootstrapping opensearch dashboard in Windows #2603

vimalMK opened this issue Oct 18, 2022 · 2 comments · Fixed by #2601
Assignees
Labels

Comments

@vimalMK
Copy link
Contributor

vimalMK commented Oct 18, 2022

Describe the bug

While trying to setup the OpenSearch dashboard in my windows machine following the guide.

https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/DEVELOPER_GUIDE.md

when I try to run:
$ yarn osd bootstrap

I get the following error
image

To Reproduce
Steps to reproduce the behavior:

$ git clone https://github.com/opensearch-project/OpenSearch-Dashboards.git
$ cd OpenSearch-Dashboards
$ nvm use
$ npm i -g yarn
$ yarn osd bootstrap - this is where the error pops up

Expected behavior
No error

OpenSearch Version
image

Dashboards Version
Please list the version of OpenSearch Dashboards being used.

Host/Environment (please complete the following information):
Gradle Version : 7.5.1
OS Info : Windows 10 10.0 (amd64)
JDK Version : 11 (Eclipse Temurin JDK)

Additional context
any work around for this?

@vimalMK vimalMK added bug Something isn't working untriaged labels Oct 18, 2022
@kavilla
Copy link
Member

kavilla commented Oct 18, 2022

Hello @vimalMK,

Currently in progress: #2601

@kavilla kavilla added windows and removed bug Something isn't working untriaged labels Oct 18, 2022
@kavilla kavilla linked a pull request Oct 18, 2022 that will close this issue
8 tasks
@vimalMK
Copy link
Contributor Author

vimalMK commented Oct 18, 2022

@kavilla Thank you for the quick response. Good to hear its noticed and work is in progress.

Meanwhile If anyone needs a workaround until its fixed, this is what I did just to make it work .

Reading some blogs and forums based on the error I was getting, it more looked like a package manager/ Resource Negotiator issue and with some help from following.

https://stackoverflow.com/questions/59354806/rm-is-not-recognized-as-an-internal-or-external-command-when-trying-publish-a
https://stackoverflow.com/questions/41451884/how-to-run-rm-command-on-windows-10/41452647

Using a Windows 10 Bash Shell instead of windows default terminal potentially solve the bootstrap issue and was able to connect the OpenSearch server with dashboard .

image

Little bit more context on solution (work around for now) :
I used git bash for windows to run commands
featured-image

Hope this helps someone, :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants