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 destructure property 'mixins' of 'from' as it is undefined. #1491

Closed
KaelWD opened this issue Jun 22, 2021 · 6 comments
Closed

Comments

@KaelWD
Copy link

KaelWD commented Jun 22, 2021

Version

6.0.0-beta.14

Browser and OS info

Chrome 91

Steps to reproduce

Use global mixins and functional components.

options is the mixin
image
raw is a functional component
image

mergeOptions sees it's a function and tries to access from.options, but functional components have no options so that is undefined, causing the destructure to throw this error. If raw is a function and has no options it should probably early return undefined

What is actually happening?

image


@Akryum Akryum added the v6 label Jun 22, 2021
@Akryum Akryum closed this as completed in 8a5617b Jun 24, 2021
@KaelWD
Copy link
Author

KaelWD commented Jun 27, 2021

@Akryum wrong issue reference in the commit message?

@Akryum Akryum reopened this Jun 27, 2021
@Akryum
Copy link
Member

Akryum commented Jun 27, 2021

Yes, I fixed the commit

@Akryum Akryum closed this as completed in 8004d06 Jun 28, 2021
@KaelWD
Copy link
Author

KaelWD commented Jun 29, 2021

I don't think that'll fix it - from was defined, from.options wasn't

@Topograph
Copy link

I am getting this error when using a child component, which has a transition as root element (wrapping a v-show).
Screenshot 2021-07-01 135043

I don't get this in the firefox-version of the beta dev tools. only chrome/edge.

I also dont know if this is related to this issue.

@phil-w
Copy link

phil-w commented Aug 18, 2021

I'm getting precisely this issue with 6.0.0 beta 15 on Brave. If that fix above is in a later release, all is good.
But it's still broken as per Topograph's report in this set up.

@muhammedkaraoglu
Copy link

I get this error when I use "transition" Can you help?
<transition name="slide-fade"> <h1>Testing</h1> </transition>

Console >

Ekran Resmi 2021-09-06 14 25 11

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

No branches or pull requests

5 participants