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.

TypeError: Cannot read property 'close' of undefined at FSEvent.FSWatcher._handle.onchange

See original GitHub issue

Description

Version

  • GitHub Desktop: 1.6.4
  • Operating system:Windows 10.0.17134

Steps to Reproduce

Expected Behavior

Actual Behavior

Additional Information

Logs

TypeError: Cannot read property ‘close’ of undefined at FSEvent.FSWatcher._handle.onchange (fs.js:1385:22)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bpaserocommented, Mar 23, 2019

Oh man, coding in TypeScript with arrow functions for 7 years now made me not see the var self… thingy, great catch 💯

0reactions
say25commented, Mar 9, 2020

Assuming this is fixed as we have since done multiple major Electron version upgrades. Also I haven’t run into this myself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - TypeError: Cannot read property 'close' of undefined
Now, I have this error when I run my test code TypeError: Cannot read property 'close' of undefined .
Read more >
TypeError: Cannot read property 'close' of undefined - MongoDB
I am facing this issue quite often, its not during the start of the project its somewhere in the middle while I am...
Read more >
“Error: EMFILE: too many open files, watch at FSEvent ...
Answers related to “Error: EMFILE: too many open files, watch at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:178:28)”.
Read more >
TypeError: Cannot read property 'data' of undefined
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not...
Read more >
Use ES6 Arrow Functions to Resolve "TypeError - Pluralsight
1TypeError: Cannot read property '<your property name>' of undefined. If you run into this error while writing React, the odds are high that ......
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