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

[HMR] Triggered within Suspense Cannot read properties of null (reading 'insertBefore') #11868

Closed
HaceraI opened this issue Sep 9, 2024 · 0 comments · Fixed by #11907
Closed
Labels

Comments

@HaceraI
Copy link

HaceraI commented Sep 9, 2024

Vue version

3.5.3

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-mwbu7r?file=src%2Fcomponents%2FComponent3.vue

Steps to reproduce

  1. Activate Tab to Component3 and wait for loading to complete
  2. Open the developer tools
  3. Make any changes in script to reproduce

What is expected?

Should be hot-reloaded correctly

What is actually happening?

Rendering is stopped with the error: Uncaught (in promise) TypeError: Cannot read properties of null (reading 'insertBefore')

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
    Memory: 22.41 GB / 63.79 GB
  Binaries:
    Node: 20.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
    npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.7.1 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    vue: ^3.5.3 => 3.5.3

Any additional comments?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants