ERROR: INFO: Could not find files for the given pattern(s)

Strange error that appears in red in Azure pipeline result (see screen copy below) , the SonarCloudAnalyze succeed…
There are only c++/c# files to analysed (no js) but seems to be an error on js analysis.

INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
INFO: Sensor CSS Rules [javascript]

INFO: Deploying custom rules bundle jar:file:/C:/Users/xxx/.sonar/cache/54f02b9cc8c8e36a9aaad1b63c7a20a5/sonar-securityjsfrontend-plugin.jar!/js-vulnerabilities-rules-1.0.0.tgz to C:\agent\_work\7\.sonarqube\out\.sonar\.sonartmp\eslint-bridge-bundle\package\custom-rules8592650278130075939
##[error]ERROR: INFO: Could not find files for the given pattern(s).
ERROR: INFO: Could not find files for the given pattern(s).
WARN: Node.js not found in PATH.

Hey there.

Sometimes these files can sneak into your projects without you noticing. It might be helpful to set the sonar.verbose analysis parameter to true and checking all the individual files that are indexed to see if you find any .js files or similar.

14:00:29.341 DEBUG: 'src/javascript/Person.js' indexed with language 'js'

If such files exist, belong in your project structure and should be there, you can always adjust your analysis scope to exclude them

And, if those files do exist, the ultimate failure in your analysis probably stems from not being able to find a version of NodeJS to run the analysis. Are you running your own build agent? Does it have NodeJS installed?

Yes it is our own build agent, and no Node.js is not installed (as not used…)
On this, the warning “WARN: Node.js not found in PATH.” is clear…

However, I have clearly no .js script… perhaps it analysed some html, let try sonar.verbose=true…

NodeJS is used in the analysis of Javascript, Typescript and CSS.