Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at useCurrentNylokalEvent (/webpack-ssr-dist/server-side-components.js:67924:9)
    at NylokalEvent (/webpack-ssr-dist/server-side-components.js:68560:19)
    at d (/webpack-ssr-dist/server-side-components.js:69905:498)
    at bb (/webpack-ssr-dist/server-side-components.js:69908:16)
    at a.b.render (/webpack-ssr-dist/server-side-components.js:69914:43)
    at a.b.read (/webpack-ssr-dist/server-side-components.js:69913:83)
    at Object.exports.renderToString (/webpack-ssr-dist/server-side-components.js:69924:138)
    at Object.serverRenderReactComponent [as default] (/webpack-ssr-dist/server-side-components.js:70976:43)
    at Object.serverRenderReactComponent (/webpack-ssr-dist/server-side-components.js:46922:52)
    at eval (eval at <anonymous> (/server.js:39:18), <anonymous>:4:23)