storybook-framework-qwik icon indicating copy to clipboard operation
storybook-framework-qwik copied to clipboard

ReferenceError: window is not defined in Qwik 1.4.2

Open literalpie opened this issue 4 months ago • 2 comments

I see this warning in the console when using qwik 1.4.2, but not earlier versions. As far as I can tell, it doesn't actually break anything?

11:23:29 AM [vite] Error when evaluating SSR module /Users/benjaminkindle/Developer/temp/dec-qwik-sb/src/routes/layout.tsx:
|- ReferenceError: window is not defined
    at eval (/Users/benjaminkindle/Developer/temp/dec-qwik-sb/src/routes/layout.tsx:17:4)
    at async instantiateModule (file:///Users/benjaminkindle/Developer/temp/dec-qwik-sb/node_modules/vite/dist/node/chunks/dep-stQc5rCc.js:54696:9)

literalpie avatar Feb 17 '24 16:02 literalpie