Skip to content

TypeError: Cannot read property 'cloneNode' of null #4031

Closed
@codesyofo

Description

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>

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions