I encountered an unexpected error in the Chrome inspector while working on a vue.js application:
Uncaught TypeError: c.querySelectorAll is not a function
This error consistently interrupts the execution flow, requiring me to hit continue multiple times after each click. Despite this inconvenience, it does not seem to have any additional adverse effects. Upon investigation in the debugger, I found that c
is a variable pointing to a comment in the DOM. These comments are all generated by vue.js as placeholders for dynamic elements.
The stack trace shows very little of my own code (as shown below).
(anonymous) (content_script_bundle.js:16)
childList (async)
appendChild (vue.runtime.esm.js?2b0e:5711)
insert (vue.runtime.esm.js?2b0e:6036)
createComponent (vue.runtime.esm.js?2b0e:5980)
... (additional lines omitted for brevity)
What could be causing this issue and how can I resolve it? Is it possibly linked to the recent update of vue.js?