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

Issue when double importing the same page in parent components #14

Open
MattiaFailla opened this issue Apr 4, 2020 · 0 comments
Open

Comments

@MattiaFailla
Copy link

Hello. When I try to import the component Animations.vue both in Home.vue and Menu.vue something strange happens: if I, for example, try to Import the component Dialogs.vue in Animations.vue and I try to push I'll get this error:


vue.esm.js?efeb:571 [Vue warn]: Failed to mount component: template or render function not defined.

found in

---> <Anonymous>
       <VOnsNavigator>
         <AppNavigator> at /home/mat/Progetti/app-farmaceutica-client/src/AppNavigator.vue
           <Root>
warn @ vue.esm.js?efeb:571
mountComponent @ vue.esm.js?efeb:2671
Vue$3.$mount @ vue.esm.js?efeb:8259
Vue$3.$mount @ vue.esm.js?efeb:10594
init @ vue.esm.js?efeb:4007
createComponent @ vue.esm.js?efeb:5446
createElm @ vue.esm.js?efeb:5382
addVnodes @ vue.esm.js?efeb:5570
updateChildren @ vue.esm.js?efeb:5700
patchVnode @ vue.esm.js?efeb:5756
patch @ vue.esm.js?efeb:5905
Vue._update @ vue.esm.js?efeb:2583
updateComponent @ vue.esm.js?efeb:2701
get @ vue.esm.js?efeb:3044
run @ vue.esm.js?efeb:3121
flushSchedulerQueue @ vue.esm.js?efeb:2887
eval @ vue.esm.js?efeb:1789
flushCallbacks @ vue.esm.js?efeb:1710
Promise.then (async)
microTimerFunc @ vue.esm.js?efeb:1758
nextTick @ vue.esm.js?efeb:1802
queueWatcher @ vue.esm.js?efeb:2974
update @ vue.esm.js?efeb:3111
notify @ vue.esm.js?efeb:677
mutator @ vue.esm.js?efeb:833
push @ store.js?a259:12
wrappedMutationHandler @ vuex.esm.js?358c:697
commitIterator @ vuex.esm.js?358c:389
eval @ vuex.esm.js?358c:388
_withCommit @ vuex.esm.js?358c:495
commit @ vuex.esm.js?358c:387
boundCommit @ vuex.esm.js?358c:335
push @ RequestSelectCompany.vue?fb4c:113
boundFn @ vue.esm.js?efeb:185
eval @ RequestSelectCompany.vue?fb4c:94
Promise.then (async)
saveRequest @ RequestSelectCompany.vue?fb4c:77
boundFn @ vue.esm.js?efeb:185
click @ RequestSelectCompany.vue?1516:20
invoker @ vue.esm.js?efeb:1943
fn._withTask.fn._withTask @ vue.esm.js?efeb:1778
vue.esm.js?efeb:571 [Vue warn]: Error in updated hook: "TypeError: Cannot set property 'visibility' of undefined"

found in

---> <VOnsNavigator>
       <AppNavigator> at /home/mat/Progetti/app-farmaceutica-client/src/AppNavigator.vue
         <Root>
warn @ vue.esm.js?efeb:571
logError @ vue.esm.js?efeb:1689
globalHandleError @ vue.esm.js?efeb:1684
handleError @ vue.esm.js?efeb:1673
callHook @ vue.esm.js?efeb:2830
callUpdatedHooks @ vue.esm.js?efeb:2928
flushSchedulerQueue @ vue.esm.js?efeb:2913
eval @ vue.esm.js?efeb:1789
flushCallbacks @ vue.esm.js?efeb:1710
Promise.then (async)
microTimerFunc @ vue.esm.js?efeb:1758
nextTick @ vue.esm.js?efeb:1802
queueWatcher @ vue.esm.js?efeb:2974
update @ vue.esm.js?efeb:3111
notify @ vue.esm.js?efeb:677
mutator @ vue.esm.js?efeb:833
push @ store.js?a259:12
wrappedMutationHandler @ vuex.esm.js?358c:697
commitIterator @ vuex.esm.js?358c:389
eval @ vuex.esm.js?358c:388
_withCommit @ vuex.esm.js?358c:495
commit @ vuex.esm.js?358c:387
boundCommit @ vuex.esm.js?358c:335
push @ RequestSelectCompany.vue?fb4c:113
boundFn @ vue.esm.js?efeb:185
eval @ RequestSelectCompany.vue?fb4c:94
Promise.then (async)
saveRequest @ RequestSelectCompany.vue?fb4c:77
boundFn @ vue.esm.js?efeb:185
click @ RequestSelectCompany.vue?1516:20
invoker @ vue.esm.js?efeb:1943
fn._withTask.fn._withTask @ vue.esm.js?efeb:1778
vue.esm.js?efeb:1693 TypeError: Cannot set property 'visibility' of undefined
    at eval (vue-onsenui.js?10e5:1106)
    at VueComponent._eachPage (vue-onsenui.js?10e5:1070)
    at VueComponent.boundFn [as _eachPage] (vue.esm.js?efeb:185)
    at VueComponent._animate (vue-onsenui.js?10e5:1105)
    at VueComponent.boundFn [as _animate] (vue.esm.js?efeb:186)
    at VueComponent.updated (vue-onsenui.js?10e5:1187)
    at callHook (vue.esm.js?efeb:2828)
    at callUpdatedHooks (vue.esm.js?efeb:2928)
    at flushSchedulerQueue (vue.esm.js?efeb:2913)
    at Array.eval (vue.esm.js?efeb:1789)

Where am I wrong?

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

1 participant