The ESLint server crashed 5 times in the last 3 minutes. The server will not be restarted.

See original GitHub issue

I got this message “The ESLint server crashed 5 times in the last 3 minutes. The server will not be restarted.” on .jsx file save. There is no explanation why was it crashed 5 times and how to fix this issue.

Is there any way to understand how to fix this issue and see more explicit error?

Some details:

"babel-eslint": "^4.1.8",
"eslint": "^2.4.0",
"eslint-plugin-react": "^3.16.1",

.eslintrc

{
  "env": {
    "browser": true,
    "node": true
  },
  "parser": "babel-eslint",
  "plugins": ["react"],
  "globals": {
    "define": true,
    "requirejs": true,
    "analytics": true
  },
  "rules": {
    "semi": [2, "always"],
    "no-alert": 2,
    "no-debugger": 2,
    "no-empty": 2,
    "new-cap": 0,
    "no-dupe-class-members": 2,
    "no-restricted-syntax": [2, "WithStatement"],
    "no-unused-expressions": 2,
    "no-trailing-spaces": 1,
    "no-shadow": 2,
    "no-undef": 2,
    "no-use-before-define": 0,

    "react/jsx-boolean-value": [2, "always"],
    "react/jsx-no-undef": 2,
    "react/jsx-uses-react": 2,
    "react/jsx-uses-vars": 2,
    "react/no-did-mount-set-state": 2,
    "react/no-did-update-set-state": 2,
    "react/no-multi-comp": 1,
    "react/no-unknown-property": 2,
    "react/react-in-jsx-scope": 2
  }
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dbaeumercommented, Aug 24, 2016

I was able to reproduce a case where a eslint plugin call process.exit() which in the case of the server shutdowns the server. It was basically a misconfiguration of the eslint / eslint plugin setup.

I added code on the server that detects that case and shows a corresponding message to the user.

0reactions
dbaeumercommented, Sep 14, 2016

Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint server crashed 5 times in the last 3 minutes. the ... - GitHub
I have tried uninstalling and reinstalling eslint, vscode, eslint vs code extension. Same error appears every time. This problem surfaced very ...
Read more >
Eslint is unstable in vs code - Stack Overflow
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not...
Read more >
neoclide/coc.nvim - Gitter
[coc.nvim] The "languageserver.python" server crashed 5 times in the last 3 minutes. The server will not be restarted. my coc-settings.json
Read more >
The language server crashed 5 times in the last 3 minutes. In c ...
I worked on a medium sized C project and at times it became so slow that I constantly have to restart VSCode. Check...
Read more >
[Vs Code]Vue工具错误(The Vue Language Server server ...
错误:The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.在使用VSCOD...,CodeAntenna技术文章技术问题代码 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found