Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

235
Visualizações
VueJs / Ionic - DOMException: Failed to execute 'insertBefore' on 'Node'

I have a list of objects, which I display through a v-for directive. Every time I am trying to add another object to the list I get the following error :

Failed to execute 'insertBefore' on 'Node'.

Vue component :

<ion-col v-for="specificOffer in specificOffers" :key="specificOffer.specificOfferId">

where:

computed: {
 ...mapGetters("specificOffer", {specificOffers: "getSpecificOffers"})
}

JS for updating specificOffers list :

updateSpecificOffers(state, payload){
    state.specificOffers.push(payload);
},
   

After pushing the new object to the list I get that error. I don't have duplicates in the list and I also don't use any v-if directive screen from console.

If needed, here is the flow: getting specificOffers, adding the object to the db and then to the state.

I have no idea how to fix this bug. I would appreciate any help.

Regards, Cezar

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda