Static GitHub Issues

[2469] Build & Start master on Localhost runs fine, on webserver, [nuxt] Error while initializing app TypeError: Cannot read property 'subscribe' of undefined

prev: memory leaks with next tag
next: Ava test fail from UglifyJS - Unexpected token: punc (()

nuxt build and nuxt start on master, on my local machine, starts my application fine, and it runs as intended.

However, the same process, nuxt build and nuxt start on master, on production, start the application with this error when visiting index, from console:

(it should be noted the application ran fine on production using PM2 for months until the most recent master, so it is most likely not a setup error on the production machine/linode)

client.js:36 [nuxt] Error while initializing app TypeError: Cannot read property 'subscribe' of undefined
    at https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:101980
    at https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:102376
    at En6X.t.a (https://uwri3d.com/_nuxt/app.8801146fb1bb2514af48.js:1:193740)
    at https://uwri3d.com/_nuxt/app.8801146fb1bb2514af48.js:1:212587
    at i (https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:165430)
    at Generator._invoke (https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:166550)
    at Generator.e.(anonymous function) [as next] (https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:165609)
    at i (https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:218151)
    at https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:218299
    at new Promise (<anonymous>)
    at new t (https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:245636)
    at https://uwri3d.com/_nuxt/common.88d5f9563f5c1c11f9ce.js:2:218093
    at https://uwri3d.com/_nuxt/app.8801146fb1bb2514af48.js:1:212743
    at Object.T23V (https://uwri3d.com/_nuxt/app.8801146fb1bb2514af48.js:1:202407)
    at n (https://uwri3d.com/_nuxt/manifest.17665c9544559b9e99f3.js:1:101)
    at window.webpackJsonp (https://uwri3d.com/_nuxt/manifest.17665c9544559b9e99f3.js:1:418)
    at https://uwri3d.com/_nuxt/app.8801146fb1bb2514af48.js:1:1

Because of this, no JavaScript runs. The HTML elements are there, and the site looks as intended, but no JS is running. I have searched the error, but can't seem to find a similar issue.

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