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 down due to server crash

See original GitHub issue

I just updated the ESLint extension to versus 1.2.10 and now suddenly it stopped working completely… Visual Studio code says “The ESLint server crashed 5 times in the last 3 minutes. The server will not be restarted.” And that’s it… Tried re-installing the plugin and reinstalling ESLint using: npm install -g eslint, but nothing seems to work. Would love to share more (log) information, but I have not been able to find any. The event viewer does not show any events that seem to relate to an eslint issue. Have no clue where to find log data on my Win 2012 Server R2 Standard machine. Any help would be greatly appreciated!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dbaeumercommented, May 16, 2017

Dups #240. I published 1.2.11. Sorry for the breakage.

0reactions
svipascommented, May 16, 2017

Same here, this is the output:

[Info  - 5:39:05 PM] ESLint server is running.
/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613
    return document2Library[document.uri].then((library) => {
                                         ^

TypeError: Cannot read property 'then' of undefined
    at validateSingle (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613:42)
    at Object.messageQueue.onNotification [as handler] (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:308:5)
    at BufferedMessageQueue.processQueue (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:297:18)
    at Immediate.timer.setImmediate (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:260:18)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)
[Info  - 5:39:05 PM] Connection to server got closed. Server will restart.
[Info  - 5:39:05 PM] ESLint server stopped.
[Info  - 5:39:06 PM] ESLint server is running.
/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613
    return document2Library[document.uri].then((library) => {
                                         ^

TypeError: Cannot read property 'then' of undefined
    at validateSingle (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613:42)
    at Object.messageQueue.onNotification [as handler] (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:308:5)
    at BufferedMessageQueue.processQueue (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:297:18)
    at Immediate.timer.setImmediate (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:260:18)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)
[Info  - 5:39:06 PM] Connection to server got closed. Server will restart.
[Info  - 5:39:06 PM] ESLint server stopped.
[Info  - 5:39:07 PM] ESLint server is running.
/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613
    return document2Library[document.uri].then((library) => {
                                         ^

TypeError: Cannot read property 'then' of undefined
    at validateSingle (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613:42)
    at Object.messageQueue.onNotification [as handler] (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:308:5)
    at BufferedMessageQueue.processQueue (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:297:18)
    at Immediate.timer.setImmediate (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:260:18)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)
[Info  - 5:39:07 PM] Connection to server got closed. Server will restart.
[Info  - 5:39:07 PM] ESLint server stopped.
[Info  - 5:39:08 PM] ESLint server is running.
/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613
    return document2Library[document.uri].then((library) => {
                                         ^

TypeError: Cannot read property 'then' of undefined
    at validateSingle (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613:42)
    at Object.messageQueue.onNotification [as handler] (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:308:5)
    at BufferedMessageQueue.processQueue (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:297:18)
    at Immediate.timer.setImmediate (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:260:18)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)
[Info  - 5:39:08 PM] Connection to server got closed. Server will restart.
[Info  - 5:39:08 PM] ESLint server stopped.
[Info  - 5:39:09 PM] ESLint server is running.
/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613
    return document2Library[document.uri].then((library) => {
                                         ^

TypeError: Cannot read property 'then' of undefined
    at validateSingle (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:613:42)
    at Object.messageQueue.onNotification [as handler] (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:308:5)
    at BufferedMessageQueue.processQueue (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:297:18)
    at Immediate.timer.setImmediate (/home/svipben/.vscode/extensions/dbaeumer.vscode-eslint-1.2.10/server/server.js:260:18)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)
[Error - 5:39:09 PM] Connection to server got closed. Server will not be restarted.
[Info  - 5:39:09 PM] ESLint server stopped.

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 added eslint.trace.server": "verbose to settings and unfortunately when the eslint server crashes the output channel also disappears. I ...
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 >
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 >
Getting Started with 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 | Yarn - Package Manager
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. In many ways, it is similar to JSLint and...
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