My Angular 11 app suddenly started showing errors across all browsers and environments (local, staging, prod) about an hour ago without any updates:
Uncaught TypeError: t.getElementsByTagName is not a function
at computeStackTrace.js:338
at Array.forEach (<anonymous>)
at computeStackTrace.js:338
at Array.forEach (<anonymous>)
at MutationObserver.<anonymous> (computeStackTrace.js:338)
at l.invoke (polyfills.98c82c2662d9589ab04d.js:formatted:278)
at a.runGuarded (polyfills.98c82c2662d9589ab04d.js:formatted:119)
at MutationObserver.<anonymous> (polyfills.98c82c2662d9589ab04d.js:formatted:98)
The dependencies listed in our package.json are as follows:
"dependencies": {
//List of dependencies here
},
We have tried multiple solutions to fix the issue, including upgrading locally to Angular 12, but nothing has solved it so far.
Has anyone encountered a similar problem before?