Sonar Analysis in javascript files - IntelliJ

Please provide

  • Windows 11
  • SonarQube for IntelliJ plugin version: 10.20.0.80985
  • IntelliJ version: 2024.3.5
  • Programming language you’re coding in: Javascript

And a thorough description of the problem / question: still havethe issue where the automatic detection of Node.js on Windows not working. Message displayed : “SonarQube for IDE requires Node.js runtime version 18.17.0 or later to analyze JavaScript code. Please configure the Node.js path in the SonarQube for IDE settings.” Even if nodeJs is version 20.9.0

Hi,

Welcome to the community and thanks for this report!

Can we get a verbose log, please?

 
Thx,
Ann

The verbose log seems normal, just got this popup when I open a JS file :

The result of the analysis is always [sonarlint-analysis-engine] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 2929ms

Hey @bil, what path have you set for Node.js in the SonarQube for IDE settings? Could you show a screenshot of that page?

Also, as mentioned by Ann, it would be easier for us to investigate with the full logs from SQ:IDE. For instance, we log about which Node.js was loaded, and for which reason it could have failed.

Thanks!