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] Current Node version (20.8.0) is incompatible with the current module when running command yarn osd bootstrap #5247

Closed
tranngocsongtruc opened this issue Oct 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tranngocsongtruc
Copy link

Describe the bug

This bug happens when running the command line yarn osd bootstrap in the Development Guide file in OpenSearch-Dashboards. It appears that the current bootstrap version is incompatible with the 20.8.0 Node version

To Reproduce
Steps to reproduce the behavior:

  1. Go to Bootstrap OpenSearch Dashboards section in the DEVELOPMENT_GUIDE file
  2. Run command line yarn osd bootstrap
  3. See error:
    tructran@Trucs-MacBook-Air OpenSearch-Dashboards % yarn osd bootstrap
    yarn run v1.22.19
    error opensearch-dashboards@3.0.0: The engine "node" is incompatible with this module. Expected version ">=14.20.1 <19". Got "20.8.0"
    error Commands cannot run with an incompatible environment.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected behavior
bootstrap completed

OpenSearch Version
3.0.0-SNAPSHOT

Dashboards Version
3.0.0

Plugins

Please list all plugins currently enabled.

Screenshots
image

Host/Environment (please complete the following information):

  • OS: MacOS Ventura 13.3
@tranngocsongtruc tranngocsongtruc added bug Something isn't working untriaged labels Oct 9, 2023
@ananzh
Copy link
Member

ananzh commented Oct 10, 2023

Hey @tranngocsongtruc, Node 20 is the latest node version. We just bump node from 14 to 18 (#3601). Currently we don't support Node 20. As you see from the error msg Expected version ">=14.20.1 <19", the latest version we support is Node 18.

You could install diff node version locally by running nvm install <some version> and then nvm use <installed version. If you still see issues running OSD or you want to do more investigation on bumping Node to 20, pls re-open the issue.

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

No branches or pull requests

3 participants