Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at useCurrentNylokalEvent (/webpack-ssr-dist/server-side-components.js:68973:9)
    at NylokalEvent (/webpack-ssr-dist/server-side-components.js:69609:19)
    at d (/webpack-ssr-dist/server-side-components.js:70954:498)
    at bb (/webpack-ssr-dist/server-side-components.js:70957:16)
    at a.b.render (/webpack-ssr-dist/server-side-components.js:70963:43)
    at a.b.read (/webpack-ssr-dist/server-side-components.js:70962:83)
    at Object.exports.renderToString (/webpack-ssr-dist/server-side-components.js:70973:138)
    at Object.serverRenderReactComponent [as default] (/webpack-ssr-dist/server-side-components.js:71988:43)
    at Object.serverRenderReactComponent (/webpack-ssr-dist/server-side-components.js:48059:52)
    at eval (eval at <anonymous> (/server.js:39:18), <anonymous>:4:23)