I am working on a React.js project and when I run it on localhost, I encounter the following error message in Chrome browser: ‘Cannot read properties of undefined (reading ‘firefoxSample’)’. This error only occurs in Chrome – I tried running the project on Firefox and Microsoft Edge, and everything worked fine. Interestingly, other members of my team do not experience this error, so I suspect the issue may be specific to Chrome. Can someone please help me with this issue?enter image description here
i tried to clear chrome cache , but that didn’t work .
2
Answers
I had the same issue but within Angular project. Turned off extensions and the error disappeared
If you have the savefrom.net extension remove that from your chrome browser.