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
./node_modules/formiojs/providers/storage/s3.js:54
var AbortController = window.AbortController || require('abortcontroller-polyfill/dist/cjs-ponyfill');
^
ReferenceError: window is not defined
at Object.29290 (./node_modules/formiojs/providers/storage/s3.js:54:23)
at require (./webpack/bootstrap:19:1)
at Object.83889 (./node_modules/formiojs/providers/storage/index.js:9:33)
at require (./webpack/bootstrap:19:1)
at Object.52573 (./node_modules/formiojs/providers/Providers.js:21:39)
at require (./webpack/bootstrap:19:1)
at Object.73119 (./node_modules/formiojs/providers/index.js:8:41)
at require (./webpack/bootstrap:19:1)
at Object.36673 (./node_modules/formiojs/Formio.js:47:41)
at webpack_require (./webpack/bootstrap:19:1)
Node.js v20.12.1
A server error has occurred.
node exited with 1 code.
Observation:
This generally happens with any third party library if window code is not protected. Any ssr build will throw an reference error.
The text was updated successfully, but these errors were encountered:
Environment
Local Build
Steps to Reproduce
Observed behavior
./node_modules/formiojs/providers/storage/s3.js:54
var AbortController = window.AbortController || require('abortcontroller-polyfill/dist/cjs-ponyfill');
^
ReferenceError: window is not defined
at Object.29290 (./node_modules/formiojs/providers/storage/s3.js:54:23)
at require (./webpack/bootstrap:19:1)
at Object.83889 (./node_modules/formiojs/providers/storage/index.js:9:33)
at require (./webpack/bootstrap:19:1)
at Object.52573 (./node_modules/formiojs/providers/Providers.js:21:39)
at require (./webpack/bootstrap:19:1)
at Object.73119 (./node_modules/formiojs/providers/index.js:8:41)
at require (./webpack/bootstrap:19:1)
at Object.36673 (./node_modules/formiojs/Formio.js:47:41)
at webpack_require (./webpack/bootstrap:19:1)
Node.js v20.12.1
A server error has occurred.
node exited with 1 code.
Observation:
This generally happens with any third party library if window code is not protected. Any ssr build will throw an reference error.
The text was updated successfully, but these errors were encountered: