-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error in nextTick: "TypeError: Cannot read property 'appendChild' of null" #1
Comments
please tell me the version of vue you are using. |
Hi, That issue occurs when using Laravel InerjaJs. However, there is another console (on app first start) when use with NuxtJS SSR
|
I had this problem too, I looked at the wrong location and found that it was because I set the id of the v-app to main instead of app. |
I try to use vuetify-loading-overlay in Laravel & VueJS.
`import {LoadingPlugin} from "vuetify-loading-overlay"
Vue.use(LoadingPlugin, {
//props
spinnerProps: {},
overlayProps: {},
});
new Vue({
vuetify,
render: h => h(App, {
props: {
initialPage: JSON.parse(el.dataset.page),
resolveComponent: name => import(
./Pages/${name}
).then(({ default: page }) => {
page.layout = page.layout === undefined ? Layout : page.layout
return page
}),
},
}),
wait: new VueWait(),
}).$mount(el)`
below is the error:
`[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'appendChild' of null"
(found in )
warn @ app.js:48835
logError @ app.js:50094
globalHandleError @ app.js:50089
handleError @ app.js:50049
(anonymous) @ app.js:50192
flushCallbacks @ app.js:50116
Promise.then (async)
timerFunc @ app.js:50143
nextTick @ app.js:50200
Vue.$nextTick @ app.js:51725
beforeMount @ app.js:46193
invokeWithErrorHandling @ app.js:50064
callHook @ app.js:52421
mountComponent @ app.js:52245
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:57245
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:60145
Vue._init @ app.js:53213
VueComponent @ app.js:53348
Loading @ app.js:60290
install @ app.js:60318
Vue.use @ app.js:53301
./resources/js/app.js @ app.js:106325
webpack_require @ app.js:833
fn @ app.js:130
0 @ app.js:106447
webpack_require @ app.js:833
(anonymous) @ app.js:971
(anonymous) @ app.js:974
app.js:50098 TypeError: Cannot read property 'appendChild' of null
at VueComponent. (app.js:46194)
at Array. (app.js:50190)
at flushCallbacks (app.js:50116)`
The text was updated successfully, but these errors were encountered: