vue-fragment icon indicating copy to clipboard operation
vue-fragment copied to clipboard

Issue with vue-fragment 1.5.2

Open sardor01 opened this issue 4 years ago • 24 comments

I'm getting this issue with the new version of vue-fragment (1.5.2):

[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."

DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. vue-fragment-error

sardor01 avatar Feb 24 '21 18:02 sardor01

same. Started happening in 1.5.2. Will revert to previous version for now.

svtokarevsv avatar Feb 24 '21 22:02 svtokarevsv

same. Better to roll back to v1.5.1

elderdog avatar Feb 25 '21 09:02 elderdog

i have same problem this version caused a bug on my proj

Dylan-bak avatar Feb 25 '21 22:02 Dylan-bak

same problem

evgencode avatar Feb 26 '21 10:02 evgencode

same problem here

mschiele avatar Feb 26 '21 12:02 mschiele

Same here. The MR https://github.com/Thunberg087/vue-fragment/pull/48 seems to break having a fragment as a root element in a dynamically added or removed component.

I rolled back to v1.5.1 and look forward to having fixed this issue in a future release. Thanks for this library :-)

fxmanu avatar Feb 26 '21 12:02 fxmanu

Is every one using Nuxt? I have this error since i updated Nuxt to 2.15.x

victorgarciaesgi avatar Mar 01 '21 10:03 victorgarciaesgi

but as @fxmanu said, reverting back to v.1.5.1 fix the problem for me!

victorgarciaesgi avatar Mar 01 '21 10:03 victorgarciaesgi

Is every one using Nuxt? I have this error since i updated Nuxt to 2.15.x

No, I don't.

fxmanu avatar Mar 01 '21 10:03 fxmanu

Same here. I also rolledback to 1.5.1.

I am using Quasar, @victorgarciaesgi

dineshtrivedi avatar Mar 01 '21 14:03 dineshtrivedi

Ok just to know if it was nuxt related but it seems not!

victorgarciaesgi avatar Mar 01 '21 15:03 victorgarciaesgi

same. Better to roll back to v1.5.1

For now, this seems to solve the problem.

sardor01 avatar Mar 03 '21 05:03 sardor01

same. Better to roll back to v1.5.1

For now, this seems to solve the problem.

Please keep the issue open since the problem still exists for the latest release. Other people will find this known problem faster and can better track if it is fixed.

korelstar avatar Mar 03 '21 06:03 korelstar

This caused a production issue for us today. It looks like the bump from 1.5.1 to 1.5.2 introduces a lot more than just backward-compatible bug fixes :)

woganmay avatar Mar 15 '21 15:03 woganmay

This is a duplicate of #32.

BaileyJM02 avatar Apr 29 '21 10:04 BaileyJM02

same prob with vue-fragment 1.5.2 and vue 2.6.14

volarname avatar Dec 16 '21 08:12 volarname

If the occurrence point is a

yoonwooseong avatar Dec 23 '21 04:12 yoonwooseong

@yoonwooseong try wrapping the Node in a. what?

alexmccabe avatar Feb 08 '22 11:02 alexmccabe

Hello everyone, I published a new version (1.6.0) that hopefully solves this problem.

Thunberg087 avatar May 31 '22 12:05 Thunberg087

Hello everyone, I published a new version (1.6.0) that hopefully solves this problem.

Thanks, but the issue still happens for me with 1.6.0. It only works with 1.5.1.

korelstar avatar Jun 01 '22 19:06 korelstar

@korelstar How exactly are you using the fragment?

Thunberg087 avatar Jun 02 '22 12:06 Thunberg087

@Thunberg087 It's here: https://github.com/nextcloud/notes/blob/f3fac061860422a98ca002369e146815e059d39f/src/components/NavigationList.vue#L2

korelstar avatar Jun 02 '22 14:06 korelstar

+1

loehx avatar Jul 27 '22 14:07 loehx

Still occuring unfortunately :/ Using v-if with a computed seems to break it

skjnldsv avatar Apr 12 '23 16:04 skjnldsv