[ERROR] Error when running: 'node -v'. Is Node.js available during analysis?

Hello Encarna,

As announced in December, the Sonar analysis now requires a Node.js runtime. This results in a hard fail, if your project has files that are analyzed by the JS/TS analyzer and no compatible Node.js runtime, is available.
To mitigate this issue, we have embedded Node.js runtimes for Linux x64, Windows x64, and MacOS ARM64, but there are some platforms that we don’t support such as Linux Alpine.

To fix your analysis, you can:

  1. install a Node.js runtime as required
  2. exclude files that are covered by the JS/TS analyzer using the following property with your analysis:
sonar.exclusions=**/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue,**/*.ts,**/*.tsx,**/*.cts,**/*.mts,**/*.html,**/*.htm,**/*.yaml