Skip to content

Vue3 inline style HMR error  #1039

Closed
Closed
@vallemar

Description

@vallemar

I have a problem with HMR, when save my file I have:

  JS: CONSOLE ERROR: TypeError: Cannot read properties of undefined (reading 'nativeSize')
  JS: CONSOLE WARN: [HMR] Something went wrong during Vue component hot-reload. Full reload required.
  JS: CONSOLE LOG: [HMR][028597644d222714fc1f] success | Successfully applied update.

Repo: https://github.com/vallemar/nativescript-wallet
I think this is the line that causes the error: https://github.com/vallemar/nativescript-wallet/blob/main/src/components/Card.vue#L16

:style="{ 'background': props.data.bg }" 

Also, this line is under a v-for: https://github.com/vallemar/nativescript-wallet/blob/main/src/components/Home.vue#L91

Note: I have this error in android

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions