Static GitHub Issues

[3051] TypeError: Cannot read property 'parentNode' of undefined

prev: Is it possible to use better-sqlite3 in a Nuxt.js environment?
next: '<template>' cannot be keyed. Place the key on real elements instead

I've been using the default mode in nuxt config which is universal. Recently, i've used the mode: 'spa' as I need to host on a static site. During development, I've kept running into this console log

TypeError: Cannot read property 'parentNode' of undefined
    at Object.parentNode (vue.runtime.esm.js:5269)
    at VueComponent.patch [as __patch__] (vue.runtime.esm.js:6027)
    at VueComponent.Vue._update (vue.runtime.esm.js:2643)
    at VueComponent.updateComponent (vue.runtime.esm.js:2761)
    at Watcher.get (vue.runtime.esm.js:3111)
    at Watcher.run (vue.runtime.esm.js:3188)
    at flushSchedulerQueue (vue.runtime.esm.js:2950)
    at Array.<anonymous> (vue.runtime.esm.js:1809)
    at flushCallbacks (vue.runtime.esm.js:1730)

I've almost strip everything down to left only an index page and default and remove all vue components imports and still running to this issue. I'm unsure what the issue is. My version is currently on 1.0.0

This only happens in SPA mode

Does upgrading v1.4.0 helps? Cuz i'm having some issues with v1.4.0 with postcss-loader as well

<!--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/c2643">#c2643</a>)</em></sub></div>