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 properties on undefined #688

Closed
se-bright opened this issue Nov 6, 2024 · 4 comments
Closed

TypeError: Cannot read properties on undefined #688

se-bright opened this issue Nov 6, 2024 · 4 comments
Labels
need reproduction Reproduction is needed

Comments

@se-bright
Copy link

Vue devtools 7.6.3

When vite hot reloads a page, using the 'select component on page' causes the following errors to occur. This can be fixed by reloading the page.

This was not the case before on 6.x.x

We mainly use:

  • Vue 3.5.12
  • Vite 5.4.9
  • Pinia 2.2.4
  • Typescript 5.6.3

If you need additional info on packages, the issue or anything else, feel free to ask.

image

image

@alexzhang1030
Copy link
Member

Hi, a reproduction is appreciated

@alexzhang1030 alexzhang1030 added the need reproduction Reproduction is needed label Nov 6, 2024
@Robind-ev
Copy link

Hi, a reproduction is appreciated

Il look into it when i have some spare time! (Accidentally posted with the wrong account 🫠 )

@twisterniq
Copy link

twisterniq commented Nov 9, 2024

It also somehow happened for me. I don't know how to reproduce it, I just saw it in the console after a while.

Screenshots

image
image

It seems like the error leads here:

for (const key in instance.props) {

@alexzhang1030
Copy link
Member

It should not happen in most general cases, so we need a sample to avoid this error. Can anyone help us? Thank you

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

No branches or pull requests

4 participants