storybook-framework-qwik
storybook-framework-qwik copied to clipboard
ReferenceError: window is not defined in Qwik 1.4.2
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)
This is affecting me as well. Appreciate it if this could be fixed!
Experiencing the same with qwik 1.5.4 and storybook 8.1.1.
Is anyone seeing something broken because of this, or is it only the console error?
Is anyone seeing something broken because of this, or is it only the console error?
Not sure, tbh. Started learning/testing Qwik and Storybook and it's just a bit distracting when trying to figure out things. :)