Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at useCurrentNylokalEvent (/webpack-ssr-dist/server-side-components.js:119288:9)
    at NylokalEvent (/webpack-ssr-dist/server-side-components.js:119924:19)
    at d (/webpack-ssr-dist/server-side-components.js:123811:498)
    at bb (/webpack-ssr-dist/server-side-components.js:123814:16)
    at a.b.render (/webpack-ssr-dist/server-side-components.js:123820:43)
    at a.b.read (/webpack-ssr-dist/server-side-components.js:123819:83)
    at Object.exports.renderToString (/webpack-ssr-dist/server-side-components.js:123830:138)
    at Object.serverRenderReactComponent [as default] (/webpack-ssr-dist/server-side-components.js:124882:43)
    at Object.serverRenderReactComponent (/webpack-ssr-dist/server-side-components.js:96424:52)
    at eval (eval at <anonymous> (/server.js:39:18), <anonymous>:4:23)