You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating from 1.6.2 to 1.7.0, we get the following error:
ReferenceError: window is not defined
at Object.<anonymous> (/home/user/Workspace/Projects/opencollective/opencollective-frontend/node_modules/react-window/dist/index.cjs.js:78:3)
at Module._compile (internal/modules/cjs/loader.js:722:30)
at Module._compile (/home/user/Workspace/Projects/opencollective/opencollective-frontend/node_modules/pirates/lib/index.js:83:24)
at Module._extensions..js (internal/modules/cjs/loader.js:733:10)
at Object.newLoader [as .js] (/home/user/Workspace/Projects/opencollective/opencollective-frontend/node_modules/pirates/lib/index.js:88:7)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.reactWindow (webpack:/external "@babel/runtime/regenerator":1:1)
at __webpack_require__ (webpack:///webpack/bootstrap:27:1)
at Module.componentsInputTypeCountryJs (/home/user/Workspace/Projects/opencollective/opencollective-frontend/src/.next/server/static/development/pages/collective.js:18682:53)
at __webpack_require__ (webpack:///webpack/bootstrap:27:1)
at Module.componentsInputFieldJs (/home/user/Workspace/Projects/opencollective/opencollective-frontend/src/.next/server/static/development/pages/collective.js:17696:59)
at __webpack_require__ (webpack:///webpack/bootstrap:27:1)
We use NextJS for pre-rendering, so window can be undefined.
After updating from 1.6.2 to 1.7.0, we get the following error:
We use NextJS for pre-rendering, so
window
can beundefined
.I think the two lines causing this are:
The text was updated successfully, but these errors were encountered: