-
Notifications
You must be signed in to change notification settings - Fork 47.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute 'insertBefore' on 'Node' #13278
Comments
We'll need a reproducing example for this. |
Going to close since we can't help without a reproducing case. If you find one please file a new issue. Thanks! |
I still can't reproduce it, but I have figure out which code throw an error (if I can trust the react export const Desc = styled.span`
max-width: 40%;
margin-right: 5px;
font-size: .9rem;
text-align: left;
`;
// later this component renders as
<Desc>{symbol}/ETH</Desc> In Chrome DevTools this component looks like: There are two I know that errors happend in next environment: {
"browser": { "name": "Chrome", "version": "63.0.3239.26" },
"os": { "name": "Windows", "version": "NT 10.0", "versionName": "10" },
"platform": { "type": "desktop" },
"engine": { "name": "Blink" }
}
{
"browser": { "name": "Chrome", "version": "68.0.3440.84" },
"os": { "name": "Windows", "version": "NT 6.1", "versionName": "7" },
"platform": { "type": "desktop" },
"engine": { "name": "Blink" }
} If you have any idea how can I try to reproduce the bug, please let me know. Thanks! |
My guess is that it's either #11538 or equivalent. |
Seems you are right. Thanks you a lot! |
Think we've observed the same issue on our end it seems to be related to automated translation from google translate:
Should I attempt to provide a minimal sample that reproduces the problem Browser: Version 75.0.3770.100 (Official Build) (64-bit) |
I am running into this problem using react 16.8.6, what version will this be fixed for? |
@mjhoffm2 I'm not convinced there's anything to fix in React. I got this error too and it turned out that it was my fault: https://stackoverflow.com/a/59845764/491553 |
FYI if it can help someone else, I had the same issue and turned out Solution was to replace |
I ended up here by chance and by turning Google Translate on, I could reproduce the issue our client was having. Thank you @vincentaudebert! |
@j-perl Thanks for helping us out. It really worked. |
For other struggling with
And used this alternative (which is not equivalent):
|
@j-perl bro thanks a lot for help! |
Do you want to request a feature or report a bug?
BUG
I am not shure if it is
react
bug, or my code, or anything else, but i got next error message from client logs. I don't use any other library to manipulate DOM. Unfortunatly I can't figure out which part of my code throw thisFailed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
Will appreciate any advices about possible sollution
Versions:
react:
16.4.0
, react-dom:16.4.0
The text was updated successfully, but these errors were encountered: