Dotnet sonarscanner

Dear all,

I have already implemented dotnet sonarscanner in dotnet-6 container, but somehow I got this error or message (the analyzes successful i just want to understand the problem). So I analyze dotnet project and I got this message in console:

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

I do not really understand because dotnet scanner should not to use node.js, or am i wrong?

Thank you,


Welcome to the community!

We use NodeJS in the analysis of the JavaScript, TypeScript, CSS (and I think HTML) files in your project. So that’s why you’re seeing this.

If you want to skip the attempt to analyze these files, you could add an exclusion to your project (in the UI is easiest) of **/*.js, **/*.ts &etc.