Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
codesyofo opened this issue Jul 1, 2021 · 1 comment
Closed

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

codesyofo opened this issue Jul 1, 2021 · 1 comment

Comments

@codesyofo
Copy link

@codesyofo codesyofo commented Jul 1, 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>
@yyx990803
Copy link
Member

@yyx990803 yyx990803 commented Jul 1, 2021

fixed via ba89ca9

@yyx990803 yyx990803 closed this Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants