A supported version of Node.js is required for running the analysis of JS in HTML files

Hello,

We have CICD pipelines what always work.
We don’t have node installed and have been getting the error message since always.
However it never failed the analysis until today.

The error looks like this one which appeared recently : Related error

But here for JS in HTML Files.
We are using sonar-maven-plugin version 3.10.0.2594

Thanks for helping.

Hey there.

What version of SonarQube are you using? This can be found in the footer of your instance. Did that change recently?

Hey,

We are using Version 10.4.1 and yes it changed a few days ago.

Delete sonar.nodejs.executable solved the problem

1 Like

Thanks for the follow-up. I’ll ask about updating our upgrade note to mention removing this since most users won’t need to set it any longer.

Just to be clear – you had sonar.nodejs.executable configured even though you knew you didn’t have NodeJS installed?

Yes because we have 2 projects running the same maven job where the sonar configuration is located. And the second project needs node, so I just made 2 different configurations

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.