Eslint-bridge server closed

  • Operating system: Windows 11
  • SonarLint plugin version: 7.3.0.59206
  • Programming language you’re coding in: JavaScript

Hi, I am using SonarLint plugin in IntelliJ for JavaScript. I have noticed more often that no more Sonar Issues were found. After some analysis I found that the eslint-bridge server shuts down in windows power save mode. After that the JavaScript analysis only shows the message “Skipping the start of eslint-bridge server as it failed to start during the first analysis or it’s not answering anymore”. Currently only a restart of IntelliJ helps. Is there a better solution that e.g. the server is restarted?

Best regards Benjamin

2 Likes

I’m experiencing the same on Windows 10 with 7.4.0.60471 :frowning:

I tried manually restarting the server using the Node command found in the SonarLint log, but it seems that unless the status field in org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl is reset, it won’t make a difference. Not sure if there’s an easier way to do that than restarting IntelliJ.

Hi folks,

I was able to reproduce it, thanks for reporting the issue.

I have created a ticket in SonarLint IntelliJ backlog to track the issue, but the fix should be made first in our JS/TS analyzer:
https://sonarsource.atlassian.net/browse/SLI-874

2 Likes

Hi @Bambl, @Julien_HENRY ,

I created a ticket on the analyzer side Analysis should work when computer resumes from sleep · Issue #3719 · SonarSource/SonarJS · GitHub

3 Likes