Hot reloading while debugging in chrome fails with "cannot read property length of undefined"
See original GitHub issueIf 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:
- Created 7 years ago
- Comments:23 (17 by maintainers)
Top 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 >
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 Free
Top 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
Oh true, we could simply do
console.warn('....');
ifacceptAll
returnsfalse
on the line I mentioned above 😃. Looking forward for your PR 😉.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.