Using wrong parameter to NodeJS binary
Hi, lately I've been trying to package sonarlint.nvim for nixpkgs https://github.com/NixOS/nixpkgs/pull/377720 but I discovered an issue with how NodeJS binary is being passed. If `node` is not inside PATH and executable, then it will break because the actual parameter to be passed to configure node executable is `clientNodePath` as you can see here on line 208 https://github.com/SonarSource/sonarlint-vscode/blob/master/src/extension.ts. You can reproduce this bug by excluding `node` from your PATH like this ![image](/uploads/637726de46fa960e0fd49df04c074d82/image.png) (I was using `nvm` for my tests in VM and I could reproduce it in this way on a PopOS fresh install). After you exclude `node` from your PATH sonarjs extension will break silently (because `sonarlint/canShowMissingRequirementsNotification` was not enabled, but if you enable it you will actually see the error message from SonarLint), but if you pass clietNodePath argument with the correct path to your `node` executable then it will start working again. Thanks again for this plugin :smile: and I would be happy to help you to implement this PR just in case
issue