Recently we have upgraded sonar developer edition from v10.4 to v2025.1.1.
But after the upgrade our pipelines are failing giving messages that
“Caused by: org.sonar.plugins.javascript.nodejs.NodeCommandException: Unsupported Node.JS version detected 16.0. Please upgrade to the latest Node.JS LTS version.”
My question is does developer edition 2025.1.1 not support Node.JS version 16.0?
I haven’t found any official documentation around it yet.
(…) No Node.js installation is required if your architecture is Linux x64, Windows x64, or Apple ARM64.
Otherwise, you will need to provide the Node.JS runtime yourself on the scanner machine. The scanner will retrieve the Node.js runtime according to the following options and in the following order:
The Node.js defined through the parameter sonar.nodejs.executable (absolute path to Node.js) if the runtime version is compatible.
The Node.js downloaded by the scanner from SonarQube Server during analysis if the detected architecture is one of the supported ones: Linux x64, Windows x64, and Apple ARM64.
The Node.js defined with node in the PATH if the runtime version is compatible.
If your architecture is neither Linux x64, Windows x64, nor Apple ARM64 then you must set up option 1 or 3 (to know how to set up option 1, see Analysis parameters). In that case, we recommend using the active LTS of Node.js, currently v20. Otherwise, Node.js v18.17.0 is the minimum supported version.