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

[BUG] Not able to run yarn with latest versions of node and npm. #5106

Open
davidosorno opened this issue Sep 25, 2023 · 2 comments
Open

[BUG] Not able to run yarn with latest versions of node and npm. #5106

davidosorno opened this issue Sep 25, 2023 · 2 comments
Labels
bug Something isn't working needs more info Requires more information from poster

Comments

@davidosorno
Copy link

Describe the bug
I tried to run yarn osd bootstrap using the latest versions of node and npm, but I got compatibility error.

To Reproduce
Steps to reproduce the behavior:

  1. Install node latest version using nvm install node.
  2. Install npm latest version using npm i -g npm.
  3. Install yarn latest version using npm i -g yarn.
  4. Go to OpenSearch-Dashboards and run yarn osd bootstrap.
  5. See error.

Expected behavior
I expected yarn osd bootstrap to complete the process successfully.

OpenSearch Version
opensearch-3.0.0-SNAPSHOT

Dashboards Version
v 3.0.0

Screenshots

image

I expected something like this (older versions of node and npm):

image

Host/Environment (please complete the following information):

  • OS: Windows
  • Terminal: Git Bash / WSL
@davidosorno davidosorno added bug Something isn't working untriaged labels Sep 25, 2023
@kavilla
Copy link
Member

kavilla commented Sep 25, 2023

Hello @davidosorno,

Thank you for opening.

From what I can from that usage online:
nvm install node
will install the latest version of Node.

We have a .nvmrc file within our repo so if you run:
nvm install
It will install the version we defined targeted version. Although our supported Node versions include more than just our targeted version.

Can you check if that works and if there is documentation within our repo would you like to modify the docs?

@kavilla kavilla added needs more info Requires more information from poster and removed untriaged labels Sep 25, 2023
@davidosorno
Copy link
Author

davidosorno commented Sep 26, 2023

Hello @kavilla,

Thanks for helping me with this issue.
I was reading the documentation and I think being more specific about the version of each program would have a huge impact for new developers as they would have the exact information to start.

I made some changes to the documentation, and I would like to know what you think, so I can create a PR or modify it.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info Requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants