I use SonarQube 7.5.0.20543 and Scanner 4.6.0 to scan Angular project.
And I installed node.js 6.17.1 on the machine and add it to the Path.
And then I add the below configuration in the sonar-project.properties:
sonar.css.node=C:/Program Files/nodejs/node.exe
However, it always report this error:
Failed to get Node.js version.No TypeScript files will be analyzed. You can exclude TypeScript files from analysis with ‘sonar.exclusions’ property.
Can you share entire logs (with debug logs as well, for that run scanner with -X)?
Which versions of TypeScript and JavaScript analyzers are you using (you can find this in marketplace)?
P.S. It’s recommended to move to SQ 7.9.1 (LTS version) or 8.0 (latest release)