tkimia.
11/24/2025, 8:52 PM"@thoughtspot/visual-embed-sdk": "1.36.1",. Today, I tried to update to version 1.43 but show this error shows up during my build.
web:build: Error occurred prerendering page "/field/checkpoint". Read more: https://nextjs.org/docs/messages/prerender-error
web:build: ReferenceError: window is not defined
web:build: at instantiateModule (.next/server/chunks/ssr/[turbopack]_runtime.js:702:9)
web:build: at getOrInstantiateModuleFromParent (.next/server/chunks/ssr/[turbopack]_runtime.js:725:12)
web:build: at Context.esmImport [as i] (.next/server/chunks/ssr/[turbopack]_runtime.js:215:20)
web:build: at instantiateModule (.next/server/chunks/ssr/[turbopack]_runtime.js:702:9)
web:build: at getOrInstantiateModuleFromParent (.next/server/chunks/ssr/[turbopack]_runtime.js:725:12)
web:build: at Context.esmImport [as i] (.next/server/chunks/ssr/[turbopack]_runtime.js:215:20) {
web:build: digest: '4015509345'
web:build: }
I'm assuming this is due to an unsafe call on window in a server component. possibly in init?Answer Overflow
11/24/2025, 8:52 PMquantum29._25526
11/25/2025, 9:09 AMruchi_91
11/25/2025, 4:15 PMtkimia.
11/25/2025, 6:06 PM