Eslint server crashes all the time
See original GitHub issueHi,
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:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 !
Thanks. Closing then.