SonarQube in Visual Studio 2026 can't find nodejs

Please provide

  • Operating system: Windows 11
  • Visual Studio version: VS 2026 Insiders [11123.170]
  • SonarQube for Visual Studio plugin version: 8.30.0.15605
  • Programming language you’re coding in: C#
  • Is connected mode used: no

And a thorough description of the problem / question:

I did a first/fresh install of VS 2026 Insiders and installed the SonarQube extension.

A notification showed that it can’t find nodejs. (I never have nodejs installed. It works fine in VS 2022.)

From the SonarQube output: [SLCore] Node.js could not be automatically detected, has to be configured manually in the SonarLint preferences!

Side note: Under Tools Options SonarQube there’s no nodejs setting which the output claims to have to be set making it double wrong.

Hi. You can set the SONAR_NODEJS_PATH environment variable to fix this problem or add node’s location to PATH. We’ve noted that the settings are missing the ability to set this path, which I agree is not great in terms of UX. Automatic detection works by running where command, so maybe VS26 stopped adding its bundled node’s location to PATH?

Maybe I’m misinterpreting the msg.

I looked into the Output on VS 2022, where SonarQube works fine, and it logs the same thing.

[SLCore] Node.js could not be automatically detected, has to be configured manually in the SonarLint preferences!

The UI head notification occurring only very sparsely is a bit confusing if it can never find nodejs but works anyway.

I’ve seen the same UI message many times before in VS 2022 and maybe 2019 before that. At least on three separate occasions. I was always under the impression that SonarQube extension updates fixed some vs-internal-nodejs path resolution. But maybe it’s just that the msg shows only rarely in specific cases, and it never finds it?

It’s possible SonarQube works fine in VS 2026 despite the message too. I only tested VS2026 on a smaller newer project.