Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at useCurrentNylokalEvent (/webpack-ssr-dist/server-side-components.js:119271:9)
    at NylokalEvent (/webpack-ssr-dist/server-side-components.js:119897:19)
    at d (/webpack-ssr-dist/server-side-components.js:123784:498)
    at bb (/webpack-ssr-dist/server-side-components.js:123787:16)
    at a.b.render (/webpack-ssr-dist/server-side-components.js:123793:43)
    at a.b.read (/webpack-ssr-dist/server-side-components.js:123792:83)
    at Object.exports.renderToString (/webpack-ssr-dist/server-side-components.js:123803:138)
    at Object.serverRenderReactComponent [as default] (/webpack-ssr-dist/server-side-components.js:124855:43)
    at Object.serverRenderReactComponent (/webpack-ssr-dist/server-side-components.js:96414:52)
    at eval (eval at <anonymous> (/server.js:39:18), <anonymous>:4:23)