Relative Content

Tag Archive for javascriptreactjserror-handlingdeploymentgoogle-translate

Google Translate and ReactFlagsSelect Integration Causing DOMException and TypeError

I’m working on a website where I’ve integrated a custom Google language translator. The translator changes the language correctly, but after changing the language, selecting a country in a form using ReactFlagsSelect throws the following errors:
Uncaught DOMException: Failed to execute ‘removeChild’ on ‘Node’: The node to be removed is not a child of this node.
at Cs (https://ship-my-stuff-staging.web.app/static/js/2.efc0a8e7.chunk.js:2:2511983)

Uncaught TypeError: Cannot read properties of undefined (reading ‘L’)
at _.oj (m=el_main:24:315)