Skip to content

The value is undefined after hot update #57

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

Open
7 tasks done
an501920078 opened this issue Dec 13, 2022 · 1 comment
Open
7 tasks done

The value is undefined after hot update #57

an501920078 opened this issue Dec 13, 2022 · 1 comment

Comments

@an501920078
Copy link

Describe the bug

C957D87E-7994-47ca-9C4E-E4B412AE2EA7
After making random changes in this file, hot update can no longer get the viewer value;
Finally, it was found that the router in http affected him;
5ECB77B5-B73C-4ebf-9DF7-87FC1D0A791B

Reproduction

https://github.com/an501920078/bugDemo.git

Steps to reproduce

pnpm i pnpm run dev Edit initHomeView.ts save

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    Memory: 4.15 GB / 15.84 GB
  Binaries:
    Node: 16.16.0 - D:\nodenvm\nodejs\node.EXE
    npm: 9.1.3 - D:\nodenvm\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.900.0), Chromium (108.0.1462.46)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0
    @vitejs/plugin-vue-jsx: ^3.0.0 => 3.0.0
    vite: ^4.0.0 => 4.0.0

Used Package Manager

pnpm

Logs

No response

Validations

@sapphi-red sapphi-red transferred this issue from vitejs/vite Dec 13, 2022
@an501920078
Copy link
Author

Has anyone solved this problem?

@edison1105 edison1105 added bug Something isn't working feat: hmr and removed pending triage labels Sep 24, 2024
@sapphi-red sapphi-red removed the bug Something isn't working label Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants