Skip to content

Commit

Permalink
Mention Node.js version Dashboards was built with in runtime check error
Browse files Browse the repository at this point in the history
  • Loading branch information
hashworks committed Feb 19, 2022
1 parent d3a773d commit e34f2db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/setup_node_env/node_version_validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ var isVersionValid = requiredVersionMajorMinor === currentVersion.match(/^v(\d+\
// Validates current the NodeJS version compatibility when OpenSearch Dashboards starts.
if (!isVersionValid) {
var errorMessage =
'OpenSearch Dashboards does not support the current Node.js version ' +
'OpenSearch Dashboards was built with ' +
requiredVersion +
' and does not support the current Node.js version ' +
currentVersion +
'. Please use Node.js ~v' +
requiredVersionMajorMinor +
Expand Down

0 comments on commit e34f2db

Please sign in to comment.