Subscribe on changes!

TypeError: Cannot read property 'cloneNode' of null

avatar
Jul 1st 2021

Version

3.1.2

Reproduction link

vite-project

Steps to reproduce

add console.log('----------------')

TypeError: Cannot read property 'cloneNode' of null

remove console.log('----------------')

TypeError: Cannot read property 'nextSibling' of null

image

What is expected?

no TypeError

What is actually happening?

TypeError

App.vue

<script lang="ts">
import { defineComponent } from 'vue'
import HelloWorld from './components/HelloWorld.vue'

console.log('----------------')
export default defineComponent({
  name: 'App',
  components: {
    HelloWorld,
  },
})
</script>
avatar
Jul 1st 2021

fixed via ba89ca9