Static GitHub Issues

[1506] Help!! Nuxt js (npm run generate) cannot read property session

prev: Page still rendered 'live' even for generated pages
next: Automatic preloading of CSS

21083675_2040868842597352_6355083002986054469_o

Hi I am getting the following error when i trying to generate my project. any idea

Route: '/'
TypeError: Cannot read property 'session' of undefined
    at nuxtServerInit (server-bundle.js:1974:12)
    at Array.wrappedActionHandler (C:\xampp\htdocs\chr\local\chr\node_modules\vuex\dist\vuex.js:604:15)
    at Store.dispatch (C:\xampp\htdocs\chr\local\chr\node_modules\vuex\dist\vuex.js:347:15)
    at Store.boundDispatch [as dispatch] (C:\xampp\htdocs\chr\local\chr\node_modules\vuex\dist\vuex.js:272:21)
    at Object._callee$ (server-bundle.js:1587:79)
    at tryCatch (C:\xampp\htdocs\chr\local\chr\node_modules\regenerator-runtime\runtime.js:65:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (C:\xampp\htdocs\chr\local\chr\node_modules\regenerator-runtime\runtime.js:303:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\xampp\htdocs\chr\local\chr\node_modules\regenerator-runtime\runtime.js:117:21)
    at step (server-bundle.js:228:30)
    at server-bundle.js:239:13

pls,help thank you so much

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