Parameter 1 Is Not Of Type Node. TypeError Failed to execute 'insertBefore' on 'Node' parameter 1 is not of type 'Node While the variable may contain an Element Node, putting the name in quotes makes it a string literal, which is the wrong type of argument for appendChild You should also consider that placing this line after a return statement means that the function will end before it can be executed. Focus: Failed to execute 'createTreeWalker' on 'Document': parameter 1 is not of type 'Node'.
Failed to execute ‘removeChild‘ on ‘Node‘ parameter 1 is not of type ‘Node‘._failed to execute from blog.csdn.net
While the variable may contain an Element Node, putting the name in quotes makes it a string literal, which is the wrong type of argument for appendChild You should also consider that placing this line after a return statement means that the function will end before it can be executed. Uncaught TypeError: Failed to execute 'querySelector' on 'Node': parameter 1 is not of type 'Node'
Failed to execute ‘removeChild‘ on ‘Node‘ parameter 1 is not of type ‘Node‘._failed to execute
You don't need to pass it a parameter, this thought experiment is just to help you find the bug. Focus: Failed to execute 'createTreeWalker' on 'Document': parameter 1 is not of type 'Node'. But I do get all the info I'm looking for through the console.log so I'm assuming that that my popup parameters are correct, but yet no luck in the map.
Uncaught TypeError Failed to execute 'selectNodeContents' on 'Range' parameter 1 is not of. Uncaught TypeError: Failed to execute 'querySelector' on 'Node': parameter 1 is not of type 'Node' Focus: Failed to execute 'createTreeWalker' on 'Document': parameter 1 is not of type 'Node'.
Session Replay Uncaught TypeError Failed to execute 'contains' on 'Node' parameter 1 is not. TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node' Which after researching means that is a string which I can add in as it is not a valid dom node.