'Sonar Secrets JavaScript' is missing dependency 'javascript'

  • Operating system: Windows 10
  • SonarLint plugin version: 7.8.0.63129
  • Eclipse IDE: 2023-03 (4.27.0), Build id: 20230309-1520
  • Programming language you’re coding in: Java
  • Connected to SonarQube Version 8.9 (build 43852)

When I start my Eclipse IDE, I always see the following warning:

SonarLint - Rules not available
Some rules are not available until some requirements are satisfied

If I click on “More details…” button, I see the following text:

Some analyzers from connection ‘sonar.mycompany.com’ can not be loaded.
‘Sonar Secrets JavaScript’ is missing dependency ‘javascript’

Could you please help me to disable this warning?
(we don’t have anything related to JavaScript, we have only Java code)

Hi @yuriypalych

Our JavaScript analyzer requires you to have node.js installed on your computer. I admit the user experience is not great for people like you that are not interested by JavaScript analysis.
I have created a ticket to track the issue, but we don’t know yet how to properly handle that:
https://sonarsource.atlassian.net/browse/SLE-606

Thanks for the feedback

Thanks, Julien, for your feedback and the ticket.
Yes, we don’t have anything related to JS, and I don’t have node.js installed on my laptop.