I am running in SPA mode and I am getting this error while trying to access NuxtJS page http://localhost:3000/auth/login
. If I go to universal
mode I can access page normally. I have no page and/or layout middleware assigned.
client.js:50 TypeError: Cannot read property 'load' of undefined at VueComponent.mounted (auth.vue:28) at callHook (vue.runtime.esm.js:2661) at insert (vue.runtime.esm.js:3522) at Object.invoker as insert at invokeInsertHook (vue.runtime.esm.js:5465) at Vue$3.patch as patch at Vue$3.Vue._update (vue.runtime.esm.js:2410) at Vue$3.updateComponent (vue.runtime.esm.js:2534) at Watcher.get (vue.runtime.esm.js:2877) at new Watcher (vue.runtime.esm.js:2866) webpackJsonp../.nuxt/client.js.WEBPACK_IMPORTED_MODULE_6_vue.default.config.errorHandler @ client.js:50 handleError @ vue.runtime.esm.js:555 callHook @ vue.runtime.esm.js:2663 insert @ vue.runtime.esm.js:3522 invoker @ vue.runtime.esm.js:1806 invokeInsertHook @ vue.runtime.esm.js:5465 patch @ vue.runtime.esm.js:5635 Vue._update @ vue.runtime.esm.js:2410 updateComponent @ vue.runtime.esm.js:2534 get @ vue.runtime.esm.js:2877 Watcher @ vue.runtime.esm.js:2866 mountComponent @ vue.runtime.esm.js:2538 webpackJsonp../node_modules/vue/dist/vue.runtime.esm.js.Vue$3.$mount @ vue.runtime.esm.js:7397 mountApp @ client.js:525 (anonymous) @ client.js:567 _callee2$ @ client.js:323 tryCatch @ runtime.js:65 invoke @ runtime.js:299 prototype.(anonymous function) @ runtime.js:117 step @ asyncToGenerator.js:17 (anonymous) @ asyncToGenerator.js:28 Promise resolved (async) step @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:28 Promise resolved (async) step @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:28 Promise resolved (async) step @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:28 Promise resolved (async) step @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:35 F @ _export.js:35 (anonymous) @ asyncToGenerator.js:14 render @ client.js:192 _callee3$ @ client.js:563 tryCatch @ runtime.js:65 invoke @ runtime.js:299 prototype.(anonymous function) @ runtime.js:117 step @ asyncToGenerator.js:17 (anonymous) @ asyncToGenerator.js:28 Promise resolved (async) step @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:28 Promise resolved (async) step @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:35 F @ _export.js:35 (anonymous) @ asyncToGenerator.js:14 mountApp @ client.js:506 Promise resolved (async) ./.nuxt/client.js @ client.js:58 webpack_require @ bootstrap 73dabf96cdbcdcacd7b0:710 fn @ bootstrap 73dabf96cdbcdcacd7b0:115 0 @ notifications.js:7 webpack_require @ bootstrap 73dabf96cdbcdcacd7b0:710 webpackJsonpCallback @ bootstrap 73dabf96cdbcdcacd7b0:25 (anonymous) @ app.12bc2a4d77cee555862d.js:1
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1587">#c1587</a>)</em></sub></div>