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 crashes all the time

See original GitHub issue

Hi,

Since a couple of week I cannot get my eslint to work in visual studio. It works perfectly fine on the command line.

I get this error everytime:

Info  - 4:15:35 PM] Connection to server got closed. Server will restart.
[Info  - 4:15:35 PM] ESLint server stopped.
[Info  - 4:15:35 PM] ESLint server stopped.
[Info  - 4:15:36 PM] ESLint server running in node v8.9.3
[Info  - 4:15:36 PM] ESLint server is running.
[Info  - 4:15:38 PM] ESLint library loaded from: /home/mlavault/Development/portal/node_modules/eslint/lib/api.js
/usr/share/code/code[28829]: ../../vendor/node/src/async-wrap.cc:357:void node::SetupHooks(const FunctionCallbackInfo<v8::Value> &): Assertion `env->async_hooks_init_function().IsEmpty()' failed.
 1: node::Abort() [/usr/share/code/libnode.so]
 2: 0x7f28358d0c04 [/usr/share/code/libnode.so]
 3: 0x7f28358baf45 [/usr/share/code/libnode.so]
 4: 0x7f283533487a [/usr/share/code/libnode.so]
 5: 0x7f28351ada4c [/usr/share/code/libnode.so]
 6: 0x7f28351ad144 [/usr/share/code/libnode.so]
 7: 0x18313668463d
[Error - 4:15:43 PM] Connection to server got closed. Server will not be restarted.
[Info  - 4:15:43 PM] ESLint server stopped.

I’m on an up to date Fedora 28 distribution.

Thanks !

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
moimaelcommented, Sep 20, 2018

I agree, this can’t be fixed in the extension and the eslint.runtime escape hatch is an acceptable solution.

Yeah you can close this, thanks !

0reactions
dbaeumercommented, Sep 21, 2018

Thanks. Closing then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eslint server crashes all the time · Issue #543 - GitHub
It works perfectly fine on the command line. I get this error everytime: Info - 4:15:35 PM] Connection to server got closed. 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 >
Language Server Extension Guide - Visual Studio Code
Language Server is a special kind of Visual Studio Code extension that powers the editing ... This extension has access to all VS...
Read more >
14 Linting Rules To Help You Write Asynchronous Code in ...
js server will crash. 13. @typescript-eslint/no-misused-promises. This rule disallows passing a Promise to places that aren't designed ...
Read more >
eslint | Yarn - Package Manager
Make sure your plugins (and ESLint) are both in your project's package.json as devDependencies (or dependencies, if your project uses ESLint at runtime)....
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