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
love this package. I have an issue though when deploying it to Vercel:
orchestrate:build: ReferenceError: window is not defined
21:59:34.871 | orchestrate:build: at file:///vercel/path0/node_modules/sequential-workflow-designer-react/lib/esm/index.js:53:1
21:59:34.871 | orchestrate:build: at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
21:59:34.871 | orchestrate:build: at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
21:59:34.872 | orchestrate:build: at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)
21:59:34.880 | orchestrate:build:
Any chance you could check if the window is not undefined? I was able to workaround it now by wrapping it in another component and then dynamically loading it but would be great if this could be solved in the future. If not, then we can just keep this as a reference for others.
Bram
The text was updated successfully, but these errors were encountered:
Hi guys,
love this package. I have an issue though when deploying it to Vercel:
orchestrate:build: ReferenceError: window is not defined
21:59:34.871 | orchestrate:build: at file:///vercel/path0/node_modules/sequential-workflow-designer-react/lib/esm/index.js:53:1
21:59:34.871 | orchestrate:build: at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
21:59:34.871 | orchestrate:build: at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
21:59:34.872 | orchestrate:build: at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)
21:59:34.880 | orchestrate:build:
Any chance you could check if the window is not undefined? I was able to workaround it now by wrapping it in another component and then dynamically loading it but would be great if this could be solved in the future. If not, then we can just keep this as a reference for others.
Bram
The text was updated successfully, but these errors were encountered: