-
Notifications
You must be signed in to change notification settings - Fork 141
Linter crashes after adding too many event listeners, channel closed. (8.2.1) #927
Comments
i suggest you to downgrade to 7.3.2 using |
Getting loads of |
Is there a stack trace for the |
What type and version of OS are you all using? (Looking for any possible common links) |
I'm also getting this exact error on Windows 10 (Home), Version 1607, OS Build 14393.1198 Happens on every startup, and linter stops working. Have reverted linter-eslint to 7.3.2 (as per previous issue) and that seems to resolve the issue. |
Does turning on/off the |
No, I do not have it enabled by default, and turning it on (and subsequently off again) has no effect. |
I was experiencing this issue, however, I updated to the current version again yesterday after a few weeks on 8.1.7 and everything seems to be fine again. Appears this isn't the case for everyone though. |
This is such a weird issue. 🤔 @joshmeads, what versions of everything are you on now? |
@IanVS Fix errors on save = true Just noticed that today I seem to have been getting errors, however, I'm not sure if they're related to this thread. They're different from what I was seeing when I had this issue.
|
This issue has suddenly reappeared for me after a couple weeks of being fine. It seems to mainly occur when working with JSX.
|
It generally occurs for me very soon after starting atom - and I've also been working heavily with JSX. I'll try to report back if it ever happens without JSX. |
I recently updated
|
I also thought it was fixed. It's been solid for a few days, however, it just crashed again on me today. Next time it happens I'll try to remember to post logs. |
still happens to me every day in all projects, no matter if small or large :(
Atom 1.21.0, linter 2.2.0 and linter-eslint 8.3.2 |
I started getting this consistently as well, after Atom was open for more than a few minutes. Then I disabled all other Atom packages, and the linter has been stable for a few days. Now I'll start to add packages slowly back in and see if I can find out which one triggers these errors again… |
Does anyone else here have nuclide setup? |
@amccloud yes I do, but my coworker is also experiencing the issue and doesn't have nuclide installed. My error is identical to @manuelbieh's. It is definitely less common for me now though than it was in linter 8.2.1, but still an issue I run into at least once per week. Usually with quite a few windows/tabs open. I should also add, I've noticed it more when eslint is configured in |
I've never seen this and most of my projects are using config from package.json. I'm inclined to think that's just a coincidence. |
@IanVS Have you determined if disabling other packages helps at all? Still having this issue on 8.3.2. Disabling all other plugins has helped, however the only other heavy hitter I had was tester and tester-jest. |
@stabback I've re-enabled a few packages including nuclide, and have not had the problem return so far. Perhaps you can also try disabling other packages, and see if that makes a difference for you? |
@IanVS I had disabled tester and tester-jest and it relieved the issue, however opening up the same codebase today with both of these packages disabled causes the same issue. I'm inclined to think that disabling the packages was a red-herring considering the sporadic nature of the problem. |
@stabback, that's totally possible and I'll fully admit that I'm clutching at straws. It would be good to be able to eliminate as many confounding variables as possible, and see if we find any patterns. But so far, patterns have been tough to come by. If anyone has other ideas or is great at troubleshooting problems like this, we could definitely use the help! :) |
A coworker of mine was running into this, he reinstalled from git last week to try out #1073 and hasn't had the issue since. |
Awyeah! Glad to hear it, @OscarBarrett, thanks for letting us know. We're planning to make a release very soon, since we've got some good stuff queued up. |
Version |
Hi there! I was having this issue, installed 8.4.1 and now it seems it's gone. Thank you so much |
Hi, I still see this issue on |
Didn't seem to have this issue previously but now seeing it directly after startup. OS: Seems any release after linter-eslint: |
duplicate of #923 |
Issue Type
Bug
Issue Description
Linter crashes and cannot recover.
Bug Checklist
eslint
CLI gives the proper result, whilelinter-eslint
does notLinter Eslint: Debug
command from the Command Palette belowI cannot get the output of
Linter Eslint: Debug
in the console it'll complai about EventEmitter memory leak.Here is the output of just using linter on my project, it works for a few minutes but seems that once the eventemitter adds too many listeners it crashes after which linter cannot connect to the process and prints
channel closed
.Using Atom 1.17.2, linter 2.1.4, linter-eslint 8.2.1.
The text was updated successfully, but these errors were encountered: