Skip to content
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' #3533

Closed
ropeladder opened this issue Aug 26, 2016 · 2 comments
Closed

Failed to execute 'insertBefore' on 'Node' #3533

ropeladder opened this issue Aug 26, 2016 · 2 comments

Comments

@ropeladder
Copy link

Vue.js version

2.0rc3 (probably was occurring in 1.x versions but I'm not sure)

Reproduction Link

https://jsfiddle.net/7e0sfqo7/

Sorry it's not very minimal. Had a hell of a time reproducing this.

Steps to reproduce

Click "Change Data" button.

What is Expected?

New data will populate template.

What is actually happening?

Firefox: "NotFoundError: Node was not found"
Trace:
insertBefore()
updateChildren()
patchVnode()
updateChildren()
patchVnode()
patch()
lifecycleMixin/Vue.prototype._update()
lifecycleMixin/Vue.prototype._mount/vm._watcher<()
get()
run()
flushSchedulerQueue()
nextTickHandler()

Chromium: "Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node."

I'm assuming this is related/similar to #3043.

@jddy
Copy link

jddy commented Aug 26, 2016

I also met

@ktsn
Copy link
Member

ktsn commented Aug 27, 2016

The error is caused by <br> on line 363. It works when I remove it.
But looks like this error has more complex cause because it may work when I remove the other parts. 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants