Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

No Form Wizard - Errors #28

Closed
movepixels opened this issue Jul 12, 2017 · 11 comments
Closed

No Form Wizard - Errors #28

movepixels opened this issue Jul 12, 2017 · 11 comments
Labels

Comments

@movepixels
Copy link

I followed the guide, pretty straight forward but I am getting many errors.
[Vue warn]: Error when rendering component at C:\work\vue-tab-wizard\src\components\FormWizard.vue:

I dont even have a C:\work folder ???

And:
Uncaught TypeError: Cannot set property 'active' of undefined

I used the npm and tried straight download, both show the same errors.

Global and local registration.

Sidenote:
The docs state import 'vue-formwizard/dist/vue-form-wizard.min.css'
where it should be import 'vue-form-wizard/dist/vue-form-wizard.min.css', missing the dash between formwizard

@cristijora
Copy link
Collaborator

cristijora commented Jul 12, 2017

Hi @movepixels. Can you please provide your setup (vue version, vue-form-wizard version, component registration and usage) and maybe a stack trace/screenshot of this error 'active' of undefined?
Thanks for the sidenote. Updated docs in that place

@cristijora
Copy link
Collaborator

Could you please try the latest 0.6.1 version and see if the error reproduces? The private paths at least should be removed

@movepixels
Copy link
Author

Ok thanks, just grabbed the 0.6.1 version, the C:\work folder error is gone,
Using Vue 2.0.7
untitled-1

@cristijora
Copy link
Collaborator

cristijora commented Jul 13, 2017

You might want to upgrade to vue 2.2.0 or above. I need some time to figure it .

@cristijora
Copy link
Collaborator

Latest version uses scoped slots which requires vue > 2.2.0, therefore closing this issue as it does not persist when vue version is higher than 2.2.0. Let me know if you have any updates after upgrading vue version.

@amsanket22
Copy link

amsanket22 commented Aug 6, 2017

I have 0.6.2 version now but it gives error on some events not while shuffling the tabs. i think it has some problems with routes. please help. everything works fine but it just gives error in console - "[Vue warn]: Error in destroyed hook: "TypeError: Cannot set property 'active' of undefined"

@cristijora
Copy link
Collaborator

cristijora commented Aug 6, 2017

Can you show the code please? Maybe reproduce in a fiddle?
If you use routes, you could use this fiddle as a starting point https://jsfiddle.net/bt5dhqtf/267/

@amsanket22
Copy link

Yes definitely, I will try to do it. but actually I am using electron, and I am using vue router, it occurs when I change the route, suddenly it shows that error.

@cristijora cristijora reopened this Aug 6, 2017
@cristijora
Copy link
Collaborator

@amsanket22 I found the error myself when working on another project. It has been fixed and 0.6.3 does not contain the error anymore. It occurred when navigating to another page. I had some operations in the beforeDestroy hook which needed some more checks.

@amsanket22
Copy link

@cristijora Yes, Update resolved my issue, thank you so much. I liked your support.

@vishal-gadhiya
Copy link

vishal-gadhiya commented May 22, 2021

@cristijora I found this error when using laravel inertial js with vue-form-wizard.
Can you help me please.
image

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

No branches or pull requests

4 participants