Failed to render "globalLogin" template
ReferenceError: window is not defined
ReferenceError: window is not defined
    at Module.../entry/globalLogin.tsx (/root/project/src/js/entry/templateRenderer.tsx:23190:1)
    at __webpack_require__ (/root/project/src/js/entry/templateRenderer.tsx:53549:42)
    at webpackContext (/root/project/src/js/entry/templateRenderer.tsx:53510:9)
    at __WEBPACK_DEFAULT_EXPORT__ (/root/project/src/js/entry/templateRenderer.tsx:53682:83)
    at /root/project/node_modules/html-webpack-plugin/index.js:450:16
    at async Promise.all (index 1)