-
Notifications
You must be signed in to change notification settings - Fork 9
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
Uncaught DOMException: Failed to execute 'insertBefore' on 'Node' #250
Comments
since the addon doesn't perform any changes at runtime and only changes whitespace at buildtime, I'm not sure if/how this can be related 🤔 |
Well, I haven't seen this error ever and now it's happening all the time. 😄 I'm positive this plugin is the cause. If you have no ideas - I can try creating a reproduction at some point? |
@Turbo87 - I spent a horrible amount of time creating a reproduction. Please check it out! 😄 Run the app, open the browser, it will blow up. Remove Please ask if you don't understand parts of the code (and you need to). It's a bit involved - I couldn't make it break with anything less than that (and I tried hard). |
I believe this is related, @boris-petrov your reproduction no longer fails if you use |
@patsy-issa - thanks for the response and support! However, I'm not seeing what you're saying. I install |
@boris-petrov could you push the changes to the repro ^^ |
I tried to run the reproduction again from a fresh install and it worked out of the box without the polyfill even O.o @boris-petrov could you clear your cache, tmp, dist and see if it works for you? |
@patsy-issa - thanks again! I pushed a commit installing and using |
@patsy-issa, @Turbo87 - hi, did you manage to check out the reproduction? Just clone the repo, |
Hmm taking a look at the reproduction's code will need a bit more time to debug it, I believe it is an issue of using |
OK, I updated the reproduction to use Ember 4.3.0 and |
Ember 3.18.1, Ember CLI 3.18. After fixing the other issue that the plugin didn't work for co-located templates, I started getting a lot of those:
I can't seem to be able to narrow it down. It generally happens after a transition. And then when I refresh the page on that route, it doesn't happen. But refreshing on the "previous" one and then transitioning causes the error.
Any ideas where do I begin looking?
The text was updated successfully, but these errors were encountered: