B
B
bitteysty2020-07-12 13:10:52
JavaScript
bitteysty, 2020-07-12 13:10:52

How to fix Vue Js error: "Error in nextTick: "NotFoundError: Failed to execute 'insertBefore' on 'Node'"?

I'm developing an app using vue and vue router and I'm having a problem when going from one route to another, it throws an error: vue.common.dev.js:630 [Vue warn]: Error in nextTick: "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." at the same time, json is loaded on both pages of the routes and the list from v-for is rendered

5f0ae550ca831875289356.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-07-12
@Aetae

Well, look for where insertBefore is used in your code.
If not used, then theoretically it may be due to the fact that duplicates come keyacross v-for, but usually this leads to other errors.
Write the same error in full: there, damn it, after the colon there is a specific description that you cut off both on the screen and in the text.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question