Check the window is exists or notimport {isServer, getWindow} from 'isclient-side' if(isServer){ // do somthing }4 dependents1 version@everything-registry/sub-chunk-1471@infinitebrahmanuniverse/nolb-det@zalastax/nolb-detnax-rest-api-client1.0.02 years ago