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
Labels
🐞 bug Something isn't working scope: hmr

Comments

@codesyofo
Copy link

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

fixed via ba89ca9

@github-actions github-actions bot locked and limited conversation to collaborators Oct 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: hmr
Projects
None yet
Development

No branches or pull requests

3 participants