question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ESLint server crashed

See original GitHub issue

Hello I am facing with issue about ESLint server. It cannot be run in Visual Studio Code in 1.61.2 version, ESLint extension v2.2.2 .

While opening solution I’ve got in output such errors:

[Info  - 11:39:03 AM] ESLint server is starting
[Info  - 11:39:06 AM] ESLint server running in node v14.16.0
[Info  - 11:39:06 AM] ESLint server is running.
AssignProcessToJobObject: (6) The handle is invalid.

[Info  - 11:39:07 AM] Connection to server got closed. Server will restart.
[Info  - 11:39:07 AM] ESLint server stopped.
[Info  - 11:39:07 AM] ESLint server is starting
[Info  - 11:39:10 AM] ESLint server running in node v14.16.0
[Info  - 11:39:10 AM] ESLint server is running.
AssignProcessToJobObject: (6) The handle is invalid.

[Info  - 11:39:11 AM] Connection to server got closed. Server will restart.
[Info  - 11:39:11 AM] ESLint server stopped.
[Info  - 11:39:11 AM] ESLint server is starting
[Info  - 11:39:14 AM] ESLint server running in node v14.16.0
[Info  - 11:39:14 AM] ESLint server is running.
AssignProcessToJobObject: (6) The handle is invalid.

[Info  - 11:39:14 AM] Connection to server got closed. Server will restart.
[Info  - 11:39:14 AM] ESLint server stopped.
[Info  - 11:39:14 AM] ESLint server is starting
[Info  - 11:39:16 AM] ESLint server running in node v14.16.0
[Info  - 11:39:16 AM] ESLint server is running.
AssignProcessToJobObject: (6) The handle is invalid.

[Info  - 11:39:17 AM] Connection to server got closed. Server will restart.
[Info  - 11:39:17 AM] ESLint server stopped.
[Info  - 11:39:17 AM] ESLint server is starting
[Info  - 11:39:21 AM] ESLint server running in node v14.16.0
[Info  - 11:39:21 AM] ESLint server is running.
AssignProcessToJobObject: (6) The handle is invalid.

[Error - 11:39:22 AM] Connection to server got closed. Server will not be restarted.
[Info  - 11:39:22 AM] ESLint server stopped.

and it crash because of 5 retries.

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dbaeumercommented, Dec 20, 2022

@smietanka the eslint.runtime setting must point to a node executable and not a node version. If node is on the path then simple "eslint.runtime": "node"

0reactions
smietankacommented, Dec 20, 2022

@dbaeumer Cool! Thank you I didn’t catch this now the server is running OK 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint server crashed 5 times in the last 3 minutes. the ... - GitHub
Eslint server crashes everytime I open VS code. I have added eslint.trace.server": "verbose to settings and unfortunately when the eslint server ...
Read more >
Eslint is unstable in vs code - Stack Overflow
I am using VS code and eslint extension. Sometimes eslint is crashed with following error: (node:1615011) UnhandledPromiseRejectionWarning: ...
Read more >
VS crashes while editing .eslint - Visual Studio Feedback
2. Start another instance of VS. 3. Select Help->Send Feedback->Report a problem. 4. Click "Report new problem" via "+".
Read more >
no-prototype-builtins - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
ESLint crashes on the jQuery repository due to not resolving ...
ESLint crashes on the jQuery repository due to not resolving paths properly in eslint-plugin-import's import/no-unused-modules rule.
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