Closed rahulgawale closed 2 years ago
Thanks for reporting, but I can't seem to reproduce using the steps provided:
Which OS are you using? I'm on a Mac.
@nolanlawson I am on Windows 11.
I am suspecting the issue is caused by one of your extensions. The first frame of the call stack originates from extensionInjectedScript.ts
, which invokes the rrweb library that does a full DOM traversal and attempts to attach an event listener with option. This is currently prohibited with synthetic shadow DOM.
Could you load the page again in a guest session to verify this?
Closing as this seems to be a browser extension issue. Please reopen if I'm mistaken.
Description
Hello there! Thank you for looking into my issue. I am getting the below error in the browser console when LWC OSS app is loaded on the localhost server and browser. This error is preventing the rerendering of the components also some times it hangs up the whole web page, initially, I thought it is an issue in my code. But then I created the brand new app and I see the same error there. This issue is occurring every time the components are rerendered.
I suspect this is related to webpack, but not sure [edit: tried creating a new app with rollup that also gives the same error.]. This error keeps coming every few seconds if observed in the browser console.
I am getting this error for every custom component in my project.
Steps to Reproduce
npx create-lwc-app my-app
cd my-app
npm run watch
.https://webcomponents.dev/create/lwc
Expected Results
No error should throw on the console.
Actual Results
Browsers Affected
Version
Node : v14.17.6 package.json versions < 0.17: "lwc-engine": "0.16.8" versions >= 0.17: "lwc-engine": "0.17.2"
Possible Solution I think this is occurring because of the vulnerabilities in the webpack.
Additional context/Screenshots I found some vulnerabilities after installation.