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.

Hot reloading while debugging in chrome fails with "cannot read property length of undefined"

See original GitHub issue

If I modify a file and save it, the function acceptAll fails with Cannot read property 'length' of undefined. It appears to only happen when debugging in chrome.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:23 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
martinbigiocommented, Apr 26, 2016

Oh true, we could simply do console.warn('....'); if acceptAll returns false on the line I mentioned above 😃. Looking forward for your PR 😉.

0reactions
lackercommented, Oct 24, 2016

This issue now appears to be an agglomeration of related problems, some of which are fixed, so I’m going to close this issue. If people run into similar bugs then I encourage the opening of new issues to report them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property 'length' of undefined
Debugger will show you which script throws problem. Check if there any any new versions of this script. I had the same problem...
Read more >
cannot read properties of undefined (reading 'query') chrome ...
Here's an example of a JavaScript TypeError: Cannot read property of undefined thrown when a property is attempted to be read on an...
Read more >
Experience Editor current chrome is null, crashes editor when ...
It says - Added a breakpoint where the code throws the error in the browser. There were 120+ fields with chrome for editing....
Read more >
Changelog - Cypress Documentation
Cypress no longer throws the error "cannot read property split of undefined" in certain circumstances when application errors are thrown. Fixes #17378.
Read more >
cannot read properties of undefined react
One of the most common errors we record, "Cannot read property 'length' of undefined", turned up in our own logs recently while looking...
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