org.sonar.plugins.javascript.nodejs.NodeCommandException: Failed to start server

Hello @anon67236913,

Thanks for providing those logs. I don’t see anything weird in them. Node.js correctly starts and listens:

DEBUG The bridge server is listening on port 57970

However after 15s without analysis request it will shutdown automatically. That is also expected:

DEBUG The bridge server shut down
DEBUG The worker thread exited with code 1

SonarLint uses HTTP protocol to communicate with the Node.js server. Can you check if that port is actually accessible? Is there any IP filtering which does not allow SonarLint to send HTTP requests? It’s possible that the 300 seconds timeout is due to some firewall policy.

Edit: Keep in mind the port is assigned randomly by the OS and will be different each time.

Cheers,
Victor